home *** CD-ROM | disk | FTP | other *** search
/ SGI Freeware 1999 August / SGI Freeware 1999 August.iso / dist / fw_emacs.idb / usr / freeware / share / emacs / 19.34 / lisp / diary-lib.elc.z / diary-lib.elc
Emacs Compiled Lisp  |  1998-10-28  |  41.5 KB

open in: MacOS 8.1     |     Win98     |     DOS

view JSON data     |     view as text

This file was processed as: Emacs Compiled Lisp (other/emacsCompiledLisp).
This format is not currently supported by dexvert.

ConfidenceProgramDetectionMatch TypeSupport
1% dexvert Emacs Compiled Lisp (other/emacsCompiledLisp) magic Unsupported
100% file Emacs/XEmacs v19 byte-compiled Lisp data default
99% file data default
100% TrID Emacs/XEmacs byte-compiled Lisp (generic) default



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 3b 45 4c 43 13 00 00 00 | 0a 3b 3b 3b 20 63 6f 6d |;ELC....|.;;; com|
|00000010| 70 69 6c 65 64 20 62 79 | 20 6b 77 7a 68 40 63 68 |piled by| kwzh@ch|
|00000020| 75 72 63 68 79 2e 67 6e | 75 2e 61 69 2e 6d 69 74 |urchy.gn|u.ai.mit|
|00000030| 2e 65 64 75 20 6f 6e 20 | 4d 6f 6e 20 4d 61 79 20 |.edu on |Mon May |
|00000040| 32 30 20 31 32 3a 30 33 | 3a 32 36 20 31 39 39 36 |20 12:03|:26 1996|
|00000050| 0a 3b 3b 3b 20 66 72 6f | 6d 20 66 69 6c 65 20 2f |.;;; fro|m file /|
|00000060| 67 64 2f 67 6e 75 2f 65 | 6d 61 63 73 2f 31 39 2e |gd/gnu/e|macs/19.|
|00000070| 30 2f 6c 69 73 70 2f 64 | 69 61 72 79 2d 6c 69 62 |0/lisp/d|iary-lib|
|00000080| 2e 65 6c 0a 3b 3b 3b 20 | 65 6d 61 63 73 20 76 65 |.el.;;; |emacs ve|
|00000090| 72 73 69 6f 6e 20 31 39 | 2e 33 30 2e 39 39 2e 31 |rsion 19|.30.99.1|
|000000a0| 2e 0a 3b 3b 3b 20 62 79 | 74 65 63 6f 6d 70 20 76 |..;;; by|tecomp v|
|000000b0| 65 72 73 69 6f 6e 20 46 | 53 46 20 32 2e 31 30 0a |ersion F|SF 2.10.|
|000000c0| 3b 3b 3b 20 6f 70 74 69 | 6d 69 7a 61 74 69 6f 6e |;;; opti|mization|
|000000d0| 20 69 73 20 6f 6e 2e 0a | 3b 3b 3b 20 74 68 69 73 | is on..|;;; this|
|000000e0| 20 66 69 6c 65 20 75 73 | 65 73 20 6f 70 63 6f 64 | file us|es opcod|
|000000f0| 65 73 20 77 68 69 63 68 | 20 64 6f 20 6e 6f 74 20 |es which| do not |
|00000100| 65 78 69 73 74 20 69 6e | 20 45 6d 61 63 73 20 31 |exist in| Emacs 1|
|00000110| 38 2e 0a 0a 28 69 66 20 | 28 61 6e 64 20 28 62 6f |8...(if |(and (bo|
|00000120| 75 6e 64 70 20 27 65 6d | 61 63 73 2d 76 65 72 73 |undp 'em|acs-vers|
|00000130| 69 6f 6e 29 0a 09 20 28 | 6f 72 20 28 61 6e 64 20 |ion).. (|or (and |
|00000140| 28 62 6f 75 6e 64 70 20 | 27 65 70 6f 63 68 3a 3a |(boundp |'epoch::|
|00000150| 76 65 72 73 69 6f 6e 29 | 20 65 70 6f 63 68 3a 3a |version)| epoch::|
|00000160| 76 65 72 73 69 6f 6e 29 | 0a 09 20 20 20 20 20 28 |version)|.. (|
|00000170| 73 74 72 69 6e 67 2d 6c | 65 73 73 70 20 65 6d 61 |string-l|essp ema|
|00000180| 63 73 2d 76 65 72 73 69 | 6f 6e 20 22 31 39 2e 32 |cs-versi|on "19.2|
|00000190| 39 22 29 29 29 0a 20 20 | 20 20 28 65 72 72 6f 72 |9"))). | (error|
|000001a0| 20 22 60 64 69 61 72 79 | 2d 6c 69 62 2e 65 6c 27 | "`diary|-lib.el'|
|000001b0| 20 77 61 73 20 63 6f 6d | 70 69 6c 65 64 20 66 6f | was com|piled fo|
|000001c0| 72 20 45 6d 61 63 73 20 | 31 39 2e 32 39 20 6f 72 |r Emacs |19.29 or|
|000001d0| 20 6c 61 74 65 72 22 29 | 29 0a 0a 0a 28 72 65 71 | later")|)...(req|
|000001e0| 75 69 72 65 20 28 71 75 | 6f 74 65 20 63 61 6c 65 |uire (qu|ote cale|
|000001f0| 6e 64 61 72 29 29 0a 23 | 40 32 35 32 20 47 65 6e |ndar)).#|@252 Gen|
|00000200| 65 72 61 74 65 20 74 68 | 65 20 64 69 61 72 79 20 |erate th|e diary |
|00000210| 77 69 6e 64 6f 77 20 66 | 6f 72 20 41 52 47 20 64 |window f|or ARG d|
|00000220| 61 79 73 20 73 74 61 72 | 74 69 6e 67 20 77 69 74 |ays star|ting wit|
|00000230| 68 20 74 68 65 20 63 75 | 72 72 65 6e 74 20 64 61 |h the cu|rrent da|
|00000240| 74 65 2e 0a 49 66 20 6e | 6f 20 61 72 67 75 6d 65 |te..If n|o argume|
|00000250| 6e 74 20 69 73 20 70 72 | 6f 76 69 64 65 64 2c 20 |nt is pr|ovided, |
|00000260| 74 68 65 20 6e 75 6d 62 | 65 72 20 6f 66 20 64 61 |the numb|er of da|
|00000270| 79 73 20 6f 66 20 64 69 | 61 72 79 20 65 6e 74 72 |ys of di|ary entr|
|00000280| 69 65 73 20 69 73 20 67 | 6f 76 65 72 6e 65 64 0a |ies is g|overned.|
|00000290| 62 79 20 74 68 65 20 76 | 61 72 69 61 62 6c 65 20 |by the v|ariable |
|000002a0| 60 6e 75 6d 62 65 72 2d | 6f 66 2d 64 69 61 72 79 |`number-|of-diary|
|000002b0| 2d 65 6e 74 72 69 65 73 | 27 2e 20 20 54 68 69 73 |-entries|'. This|
|000002c0| 20 66 75 6e 63 74 69 6f | 6e 20 69 73 20 73 75 69 | functio|n is sui|
|000002d0| 74 61 62 6c 65 20 66 6f | 72 0a 65 78 65 63 75 74 |table fo|r.execut|
|000002e0| 69 6f 6e 20 69 6e 20 61 | 20 60 2e 65 6d 61 63 73 |ion in a| `.emacs|
|000002f0| 27 20 66 69 6c 65 2e 1f | 0a 28 64 65 66 61 6c 69 |' file..|.(defali|
|00000300| 61 73 20 27 64 69 61 72 | 79 20 23 5b 28 26 6f 70 |as 'diar|y #[(&op|
|00000310| 74 69 6f 6e 61 6c 20 61 | 72 67 29 20 22 c0 09 21 |tional a|rg) "..!|
|00000320| c2 20 1b 89 1c 83 41 00 | c5 5c 66 21 83 41 00 c6 |. ....A.|.\f!.A..|
|00000330| 5c 66 21 83 3b 00 c7 0b | 0e 08 83 25 00 c9 0e 08 |\f!.;...|...%....|
|00000340| 21 82 37 00 ca 0e 0b 21 | 83 35 00 0e 0b cc 0b 21 |!.7....!|.5.....!|
|00000350| 48 82 37 00 0e 0b 5c 22 | 82 44 00 cd ce 21 82 44 |H.7...\"|.D...!.D|
|00000360| 00 cd cf 21 2a 87 22 20 | 5b 73 75 62 73 74 69 74 |...!*." |[substit|
|00000370| 75 74 65 2d 69 6e 2d 66 | 69 6c 65 2d 6e 61 6d 65 |ute-in-f|ile-name|
|00000380| 20 64 69 61 72 79 2d 66 | 69 6c 65 20 63 61 6c 65 | diary-f|ile cale|
|00000390| 6e 64 61 72 2d 63 75 72 | 72 65 6e 74 2d 64 61 74 |ndar-cur|rent-dat|
|000003a0| 65 20 64 61 74 65 20 64 | 2d 66 69 6c 65 20 66 69 |e date d|-file fi|
|000003b0| 6c 65 2d 65 78 69 73 74 | 73 2d 70 20 66 69 6c 65 |le-exist|s-p file|
|000003c0| 2d 72 65 61 64 61 62 6c | 65 2d 70 20 6c 69 73 74 |-readabl|e-p list|
|000003d0| 2d 64 69 61 72 79 2d 65 | 6e 74 72 69 65 73 20 61 |-diary-e|ntries a|
|000003e0| 72 67 20 70 72 65 66 69 | 78 2d 6e 75 6d 65 72 69 |rg prefi|x-numeri|
|000003f0| 63 2d 76 61 6c 75 65 20 | 76 65 63 74 6f 72 70 20 |c-value |vectorp |
|00000400| 6e 75 6d 62 65 72 2d 6f | 66 2d 64 69 61 72 79 2d |number-o|f-diary-|
|00000410| 65 6e 74 72 69 65 73 20 | 63 61 6c 65 6e 64 61 72 |entries |calendar|
|00000420| 2d 64 61 79 2d 6f 66 2d | 77 65 65 6b 20 65 72 72 |-day-of-|week err|
|00000430| 6f 72 20 22 59 6f 75 72 | 20 64 69 61 72 79 20 66 |or "Your| diary f|
|00000440| 69 6c 65 20 69 73 20 6e | 6f 74 20 72 65 61 64 61 |ile is n|ot reada|
|00000450| 62 6c 65 21 22 20 22 59 | 6f 75 20 64 6f 6e 27 74 |ble!" "Y|ou don't|
|00000460| 20 68 61 76 65 20 61 20 | 64 69 61 72 79 20 66 69 | have a |diary fi|
|00000470| 6c 65 21 22 5d 20 36 20 | 28 23 24 20 2e 20 35 30 |le!"] 6 |(#$ . 50|
|00000480| 39 29 20 22 50 22 5d 29 | 0a 23 40 32 31 37 20 50 |9) "P"])|.#@217 P|
|00000490| 72 65 70 61 72 65 20 61 | 6e 64 20 64 69 73 70 6c |repare a|nd displ|
|000004a0| 61 79 20 61 20 62 75 66 | 66 65 72 20 77 69 74 68 |ay a buf|fer with|
|000004b0| 20 64 69 61 72 79 20 65 | 6e 74 72 69 65 73 2e 0a | diary e|ntries..|
|000004c0| 53 65 61 72 63 68 65 73 | 20 74 68 65 20 66 69 6c |Searches| the fil|
|000004d0| 65 20 6e 61 6d 65 64 20 | 69 6e 20 60 64 69 61 72 |e named |in `diar|
|000004e0| 79 2d 66 69 6c 65 27 20 | 66 6f 72 20 65 6e 74 72 |y-file' |for entr|
|000004f0| 69 65 73 20 74 68 61 74 | 0a 6d 61 74 63 68 20 41 |ies that|.match A|
|00000500| 52 47 20 64 61 79 73 20 | 73 74 61 72 74 69 6e 67 |RG days |starting|
|00000510| 20 77 69 74 68 20 74 68 | 65 20 64 61 74 65 20 69 | with th|e date i|
|00000520| 6e 64 69 63 61 74 65 64 | 20 62 79 20 74 68 65 20 |ndicated| by the |
|00000530| 63 75 72 73 6f 72 20 70 | 6f 73 69 74 69 6f 6e 0a |cursor p|osition.|
|00000540| 69 6e 20 74 68 65 20 64 | 69 73 70 6c 61 79 65 64 |in the d|isplayed|
|00000550| 20 74 68 72 65 65 2d 6d | 6f 6e 74 68 20 63 61 6c | three-m|onth cal|
|00000560| 65 6e 64 61 72 2e 1f 0a | 28 64 65 66 61 6c 69 61 |endar...|(defalia|
|00000570| 73 20 27 76 69 65 77 2d | 64 69 61 72 79 2d 65 6e |s 'view-|diary-en|
|00000580| 74 72 69 65 73 20 23 5b | 28 61 72 67 29 20 22 c0 |tries #[|(arg) ".|
|00000590| 09 21 89 1a 83 24 00 c3 | 5c 6e 21 83 24 00 c4 5c |.!...$..|\n!.$..\|
|000005a0| 6e 21 83 1e 00 c5 c6 c7 | 21 0e 08 5c 22 82 27 00 |n!......|!..\".'.|
|000005b0| c9 ca 21 82 27 00 c9 cb | 21 29 87 22 20 5b 73 75 |..!.'...|!)." [su|
|000005c0| 62 73 74 69 74 75 74 65 | 2d 69 6e 2d 66 69 6c 65 |bstitute|-in-file|
|000005d0| 2d 6e 61 6d 65 20 64 69 | 61 72 79 2d 66 69 6c 65 |-name di|ary-file|
|000005e0| 20 64 2d 66 69 6c 65 20 | 66 69 6c 65 2d 65 78 69 | d-file |file-exi|
|000005f0| 73 74 73 2d 70 20 66 69 | 6c 65 2d 72 65 61 64 61 |sts-p fi|le-reada|
|00000600| 62 6c 65 2d 70 20 6c 69 | 73 74 2d 64 69 61 72 79 |ble-p li|st-diary|
|00000610| 2d 65 6e 74 72 69 65 73 | 20 63 61 6c 65 6e 64 61 |-entries| calenda|
|00000620| 72 2d 63 75 72 73 6f 72 | 2d 74 6f 2d 64 61 74 65 |r-cursor|-to-date|
|00000630| 20 74 20 61 72 67 20 65 | 72 72 6f 72 20 22 44 69 | t arg e|rror "Di|
|00000640| 61 72 79 20 66 69 6c 65 | 20 69 73 20 6e 6f 74 20 |ary file| is not |
|00000650| 72 65 61 64 61 62 6c 65 | 21 22 20 22 59 6f 75 20 |readable|!" "You |
|00000660| 64 6f 6e 27 74 20 68 61 | 76 65 20 61 20 64 69 61 |don't ha|ve a dia|
|00000670| 72 79 20 66 69 6c 65 21 | 22 5d 20 34 20 28 23 24 |ry file!|"] 4 (#$|
|00000680| 20 2e 20 31 31 36 37 29 | 20 22 70 22 5d 29 0a 23 | . 1167)| "p"]).#|
|00000690| 40 32 35 31 20 50 72 65 | 70 61 72 65 20 61 6e 64 |@251 Pre|pare and|
|000006a0| 20 64 69 73 70 6c 61 79 | 20 62 75 66 66 65 72 20 | display| buffer |
|000006b0| 6f 66 20 64 69 61 72 79 | 20 65 6e 74 72 69 65 73 |of diary| entries|
|000006c0| 20 66 72 6f 6d 20 61 6e | 20 61 6c 74 65 72 6e 61 | from an| alterna|
|000006d0| 74 69 76 65 20 64 69 61 | 72 79 20 66 69 6c 65 2e |tive dia|ry file.|
|000006e0| 0a 50 72 6f 6d 70 74 73 | 20 66 6f 72 20 61 20 66 |.Prompts| for a f|
|000006f0| 69 6c 65 20 6e 61 6d 65 | 20 61 6e 64 20 73 65 61 |ile name| and sea|
|00000700| 72 63 68 65 73 20 74 68 | 61 74 20 66 69 6c 65 20 |rches th|at file |
|00000710| 66 6f 72 20 65 6e 74 72 | 69 65 73 20 74 68 61 74 |for entr|ies that|
|00000720| 20 6d 61 74 63 68 20 41 | 52 47 0a 64 61 79 73 20 | match A|RG.days |
|00000730| 73 74 61 72 74 69 6e 67 | 20 77 69 74 68 20 74 68 |starting| with th|
|00000740| 65 20 64 61 74 65 20 69 | 6e 64 69 63 61 74 65 64 |e date i|ndicated|
|00000750| 20 62 79 20 74 68 65 20 | 63 75 72 73 6f 72 20 70 | by the |cursor p|
|00000760| 6f 73 69 74 69 6f 6e 20 | 69 6e 20 74 68 65 20 64 |osition |in the d|
|00000770| 69 73 70 6c 61 79 65 64 | 0a 74 68 72 65 65 2d 6d |isplayed|.three-m|
|00000780| 6f 6e 74 68 20 63 61 6c | 65 6e 64 61 72 2e 1f 0a |onth cal|endar...|
|00000790| 28 64 65 66 61 6c 69 61 | 73 20 27 76 69 65 77 2d |(defalia|s 'view-|
|000007a0| 6f 74 68 65 72 2d 64 69 | 61 72 79 2d 65 6e 74 72 |other-di|ary-entr|
|000007b0| 69 65 73 20 23 5b 28 61 | 72 67 20 64 69 61 72 79 |ies #[(a|rg diary|
|000007c0| 2d 66 69 6c 65 29 20 22 | c0 09 21 87 22 20 5b 76 |-file) "|..!." [v|
|000007d0| 69 65 77 2d 64 69 61 72 | 79 2d 65 6e 74 72 69 65 |iew-diar|y-entrie|
|000007e0| 73 20 61 72 67 5d 20 32 | 20 28 23 24 20 2e 20 31 |s arg] 2| (#$ . 1|
|000007f0| 36 38 35 29 20 28 6c 69 | 73 74 20 28 63 6f 6e 64 |685) (li|st (cond|
|00000800| 20 28 28 6e 75 6c 6c 20 | 63 75 72 72 65 6e 74 2d | ((null |current-|
|00000810| 70 72 65 66 69 78 2d 61 | 72 67 29 20 31 29 20 28 |prefix-a|rg) 1) (|
|00000820| 28 6c 69 73 74 70 20 63 | 75 72 72 65 6e 74 2d 70 |(listp c|urrent-p|
|00000830| 72 65 66 69 78 2d 61 72 | 67 29 20 28 63 61 72 20 |refix-ar|g) (car |
|00000840| 63 75 72 72 65 6e 74 2d | 70 72 65 66 69 78 2d 61 |current-|prefix-a|
|00000850| 72 67 29 29 20 28 74 20 | 63 75 72 72 65 6e 74 2d |rg)) (t |current-|
|00000860| 70 72 65 66 69 78 2d 61 | 72 67 29 29 20 28 73 65 |prefix-a|rg)) (se|
|00000870| 74 71 20 64 69 61 72 79 | 2d 66 69 6c 65 20 28 72 |tq diary|-file (r|
|00000880| 65 61 64 2d 66 69 6c 65 | 2d 6e 61 6d 65 20 22 45 |ead-file|-name "E|
|00000890| 6e 74 65 72 20 64 69 61 | 72 79 20 66 69 6c 65 20 |nter dia|ry file |
|000008a0| 6e 61 6d 65 3a 20 22 20 | 64 65 66 61 75 6c 74 2d |name: " |default-|
|000008b0| 64 69 72 65 63 74 6f 72 | 79 20 6e 69 6c 20 74 29 |director|y nil t)|
|000008c0| 29 29 5d 29 0a 23 40 31 | 38 36 20 43 68 65 63 6b |))]).#@1|86 Check|
|000008d0| 20 74 68 65 20 6c 69 73 | 74 20 6f 66 20 68 6f 6c | the lis|t of hol|
|000008e0| 69 64 61 79 73 20 66 6f | 72 20 61 6e 79 20 74 68 |idays fo|r any th|
|000008f0| 61 74 20 6f 63 63 75 72 | 20 6f 6e 20 44 41 54 45 |at occur| on DATE|
|00000900| 2e 0a 54 68 65 20 76 61 | 6c 75 65 20 72 65 74 75 |..The va|lue retu|
|00000910| 72 6e 65 64 20 69 73 20 | 61 20 6c 69 73 74 20 6f |rned is |a list o|
|00000920| 66 20 73 74 72 69 6e 67 | 73 20 6f 66 20 72 65 6c |f string|s of rel|
|00000930| 65 76 61 6e 74 20 68 6f | 6c 69 64 61 79 20 64 65 |evant ho|liday de|
|00000940| 73 63 72 69 70 74 69 6f | 6e 73 2e 0a 54 68 65 20 |scriptio|ns..The |
|00000950| 68 6f 6c 69 64 61 79 73 | 20 61 72 65 20 74 68 6f |holidays| are tho|
|00000960| 73 65 20 69 6e 20 74 68 | 65 20 6c 69 73 74 20 60 |se in th|e list `|
|00000970| 63 61 6c 65 6e 64 61 72 | 2d 68 6f 6c 69 64 61 79 |calendar|-holiday|
|00000980| 73 27 2e 1f 0a 28 61 75 | 74 6f 6c 6f 61 64 20 28 |s'...(au|toload (|
|00000990| 71 75 6f 74 65 20 63 68 | 65 63 6b 2d 63 61 6c 65 |quote ch|eck-cale|
|000009a0| 6e 64 61 72 2d 68 6f 6c | 69 64 61 79 73 29 20 22 |ndar-hol|idays) "|
|000009b0| 68 6f 6c 69 64 61 79 73 | 22 20 27 28 23 24 20 2e |holidays|" '(#$ .|
|000009c0| 20 32 32 35 31 29 20 74 | 29 0a 23 40 31 32 37 20 | 2251) t|).#@127 |
|000009d0| 46 6f 72 6d 20 74 68 65 | 20 6c 69 73 74 20 6f 66 |Form the| list of|
|000009e0| 20 68 6f 6c 69 64 61 79 | 73 20 74 68 61 74 20 6f | holiday|s that o|
|000009f0| 63 63 75 72 20 6f 6e 20 | 64 61 74 65 73 20 69 6e |ccur on |dates in|
|00000a00| 20 74 68 65 20 63 61 6c | 65 6e 64 61 72 20 77 69 | the cal|endar wi|
|00000a10| 6e 64 6f 77 2e 0a 54 68 | 65 20 68 6f 6c 69 64 61 |ndow..Th|e holida|
|00000a20| 79 73 20 61 72 65 20 74 | 68 6f 73 65 20 69 6e 20 |ys are t|hose in |
|00000a30| 74 68 65 20 6c 69 73 74 | 20 60 63 61 6c 65 6e 64 |the list| `calend|
|00000a40| 61 72 2d 68 6f 6c 69 64 | 61 79 73 27 2e 1f 0a 28 |ar-holid|ays'...(|
|00000a50| 61 75 74 6f 6c 6f 61 64 | 20 28 71 75 6f 74 65 20 |autoload| (quote |
|00000a60| 63 61 6c 65 6e 64 61 72 | 2d 68 6f 6c 69 64 61 79 |calendar|-holiday|
|00000a70| 2d 6c 69 73 74 29 20 22 | 68 6f 6c 69 64 61 79 73 |-list) "|holidays|
|00000a80| 22 20 27 28 23 24 20 2e | 20 32 35 31 32 29 20 74 |" '(#$ .| 2512) t|
|00000a90| 29 0a 23 40 34 39 20 46 | 72 65 6e 63 68 20 63 61 |).#@49 F|rench ca|
|00000aa0| 6c 65 6e 64 61 72 20 65 | 71 75 69 76 61 6c 65 6e |lendar e|quivalen|
|00000ab0| 74 20 6f 66 20 64 61 74 | 65 20 64 69 61 72 79 20 |t of dat|e diary |
|00000ac0| 65 6e 74 72 79 2e 1f 0a | 28 61 75 74 6f 6c 6f 61 |entry...|(autoloa|
|00000ad0| 64 20 28 71 75 6f 74 65 | 20 64 69 61 72 79 2d 66 |d (quote| diary-f|
|00000ae0| 72 65 6e 63 68 2d 64 61 | 74 65 29 20 22 63 61 6c |rench-da|te) "cal|
|00000af0| 2d 66 72 65 6e 63 68 22 | 20 27 28 23 24 20 2e 20 |-french"| '(#$ . |
|00000b00| 32 37 31 31 29 20 74 29 | 0a 23 40 34 38 20 4d 61 |2711) t)|.#@48 Ma|
|00000b10| 79 61 6e 20 63 61 6c 65 | 6e 64 61 72 20 65 71 75 |yan cale|ndar equ|
|00000b20| 69 76 61 6c 65 6e 74 20 | 6f 66 20 64 61 74 65 20 |ivalent |of date |
|00000b30| 64 69 61 72 79 20 65 6e | 74 72 79 2e 1f 0a 28 61 |diary en|try...(a|
|00000b40| 75 74 6f 6c 6f 61 64 20 | 28 71 75 6f 74 65 20 64 |utoload |(quote d|
|00000b50| 69 61 72 79 2d 6d 61 79 | 61 6e 2d 64 61 74 65 29 |iary-may|an-date)|
|00000b60| 20 22 63 61 6c 2d 6d 61 | 79 61 6e 22 20 27 28 23 | "cal-ma|yan" '(#|
|00000b70| 24 20 2e 20 32 38 33 30 | 29 20 74 29 0a 23 40 34 |$ . 2830|) t).#@4|
|00000b80| 36 20 49 53 4f 20 63 61 | 6c 65 6e 64 61 72 20 65 |6 ISO ca|lendar e|
|00000b90| 71 75 69 76 61 6c 65 6e | 74 20 6f 66 20 64 61 74 |quivalen|t of dat|
|00000ba0| 65 20 64 69 61 72 79 20 | 65 6e 74 72 79 2e 1f 0a |e diary |entry...|
|00000bb0| 28 61 75 74 6f 6c 6f 61 | 64 20 28 71 75 6f 74 65 |(autoloa|d (quote|
|00000bc0| 20 64 69 61 72 79 2d 69 | 73 6f 2d 64 61 74 65 29 | diary-i|so-date)|
|00000bd0| 20 22 63 61 6c 2d 69 73 | 6f 22 20 27 28 23 24 20 | "cal-is|o" '(#$ |
|00000be0| 2e 20 32 39 34 36 29 20 | 74 29 0a 23 40 34 39 20 |. 2946) |t).#@49 |
|00000bf0| 4a 75 6c 69 61 6e 20 63 | 61 6c 65 6e 64 61 72 20 |Julian c|alendar |
|00000c00| 65 71 75 69 76 61 6c 65 | 6e 74 20 6f 66 20 64 61 |equivale|nt of da|
|00000c10| 74 65 20 64 69 61 72 79 | 20 65 6e 74 72 79 2e 1f |te diary| entry..|
|00000c20| 0a 28 61 75 74 6f 6c 6f | 61 64 20 28 71 75 6f 74 |.(autolo|ad (quot|
|00000c30| 65 20 64 69 61 72 79 2d | 6a 75 6c 69 61 6e 2d 64 |e diary-|julian-d|
|00000c40| 61 74 65 29 20 22 63 61 | 6c 2d 6a 75 6c 69 61 6e |ate) "ca|l-julian|
|00000c50| 22 20 27 28 23 24 20 2e | 20 33 30 35 36 29 20 74 |" '(#$ .| 3056) t|
|00000c60| 29 0a 23 40 34 37 20 41 | 73 74 72 6f 6e 6f 6d 69 |).#@47 A|stronomi|
|00000c70| 63 61 6c 20 28 4a 75 6c | 69 61 6e 29 20 64 61 79 |cal (Jul|ian) day|
|00000c80| 20 6e 75 6d 62 65 72 20 | 64 69 61 72 79 20 65 6e | number |diary en|
|00000c90| 74 72 79 2e 1f 0a 28 61 | 75 74 6f 6c 6f 61 64 20 |try...(a|utoload |
|00000ca0| 28 71 75 6f 74 65 20 64 | 69 61 72 79 2d 61 73 74 |(quote d|iary-ast|
|00000cb0| 72 6f 2d 64 61 79 2d 6e | 75 6d 62 65 72 29 20 22 |ro-day-n|umber) "|
|00000cc0| 63 61 6c 2d 6a 75 6c 69 | 61 6e 22 20 27 28 23 24 |cal-juli|an" '(#$|
|00000cd0| 20 2e 20 33 31 37 35 29 | 20 74 29 0a 23 40 35 30 | . 3175)| t).#@50|
|00000ce0| 20 43 68 69 6e 65 73 65 | 20 63 61 6c 65 6e 64 61 | Chinese| calenda|
|00000cf0| 72 20 65 71 75 69 76 61 | 6c 65 6e 74 20 6f 66 20 |r equiva|lent of |
|00000d00| 64 61 74 65 20 64 69 61 | 72 79 20 65 6e 74 72 79 |date dia|ry entry|
|00000d10| 2e 1f 0a 28 61 75 74 6f | 6c 6f 61 64 20 28 71 75 |...(auto|load (qu|
|00000d20| 6f 74 65 20 64 69 61 72 | 79 2d 63 68 69 6e 65 73 |ote diar|y-chines|
|00000d30| 65 2d 64 61 74 65 29 20 | 22 63 61 6c 2d 63 68 69 |e-date) |"cal-chi|
|00000d40| 6e 61 22 20 27 28 23 24 | 20 2e 20 33 32 39 37 29 |na" '(#$| . 3297)|
|00000d50| 20 74 29 0a 23 40 35 30 | 20 49 73 6c 61 6d 69 63 | t).#@50| Islamic|
|00000d60| 20 63 61 6c 65 6e 64 61 | 72 20 65 71 75 69 76 61 | calenda|r equiva|
|00000d70| 6c 65 6e 74 20 6f 66 20 | 64 61 74 65 20 64 69 61 |lent of |date dia|
|00000d80| 72 79 20 65 6e 74 72 79 | 2e 1f 0a 28 61 75 74 6f |ry entry|...(auto|
|00000d90| 6c 6f 61 64 20 28 71 75 | 6f 74 65 20 64 69 61 72 |load (qu|ote diar|
|00000da0| 79 2d 69 73 6c 61 6d 69 | 63 2d 64 61 74 65 29 20 |y-islami|c-date) |
|00000db0| 22 63 61 6c 2d 69 73 6c | 61 6d 22 20 27 28 23 24 |"cal-isl|am" '(#$|
|00000dc0| 20 2e 20 33 34 31 37 29 | 20 74 29 0a 23 40 37 35 | . 3417)| t).#@75|
|00000dd0| 20 41 64 64 20 61 6e 79 | 20 49 73 6c 61 6d 69 63 | Add any| Islamic|
|00000de0| 20 64 61 74 65 20 65 6e | 74 72 69 65 73 20 66 72 | date en|tries fr|
|00000df0| 6f 6d 20 74 68 65 20 64 | 69 61 72 79 20 66 69 6c |om the d|iary fil|
|00000e00| 65 20 74 6f 20 60 64 69 | 61 72 79 2d 65 6e 74 72 |e to `di|ary-entr|
|00000e10| 69 65 73 2d 6c 69 73 74 | 27 2e 1f 0a 28 61 75 74 |ies-list|'...(aut|
|00000e20| 6f 6c 6f 61 64 20 28 71 | 75 6f 74 65 20 6c 69 73 |oload (q|uote lis|
|00000e30| 74 2d 69 73 6c 61 6d 69 | 63 2d 64 69 61 72 79 2d |t-islami|c-diary-|
|00000e40| 65 6e 74 72 69 65 73 29 | 20 22 63 61 6c 2d 69 73 |entries)| "cal-is|
|00000e50| 6c 61 6d 22 20 27 28 23 | 24 20 2e 20 33 35 33 37 |lam" '(#|$ . 3537|
|00000e60| 29 20 74 29 0a 23 40 37 | 32 20 4d 61 72 6b 20 64 |) t).#@7|2 Mark d|
|00000e70| 61 79 73 20 69 6e 20 74 | 68 65 20 63 61 6c 65 6e |ays in t|he calen|
|00000e80| 64 61 72 20 77 69 6e 64 | 6f 77 20 74 68 61 74 20 |dar wind|ow that |
|00000e90| 68 61 76 65 20 49 73 6c | 61 6d 69 63 20 64 61 74 |have Isl|amic dat|
|00000ea0| 65 20 64 69 61 72 79 20 | 65 6e 74 72 69 65 73 2e |e diary |entries.|
|00000eb0| 1f 0a 28 61 75 74 6f 6c | 6f 61 64 20 28 71 75 6f |..(autol|oad (quo|
|00000ec0| 74 65 20 6d 61 72 6b 2d | 69 73 6c 61 6d 69 63 2d |te mark-|islamic-|
|00000ed0| 64 69 61 72 79 2d 65 6e | 74 72 69 65 73 29 20 22 |diary-en|tries) "|
|00000ee0| 63 61 6c 2d 69 73 6c 61 | 6d 22 20 27 28 23 24 20 |cal-isla|m" '(#$ |
|00000ef0| 2e 20 33 36 39 30 29 20 | 74 29 0a 23 40 37 36 20 |. 3690) |t).#@76 |
|00000f00| 4d 61 72 6b 20 64 61 74 | 65 73 20 69 6e 20 63 61 |Mark dat|es in ca|
|00000f10| 6c 65 6e 64 61 72 20 77 | 69 6e 64 6f 77 20 74 68 |lendar w|indow th|
|00000f20| 61 74 20 63 6f 6e 66 6f | 72 6d 20 74 6f 20 49 73 |at confo|rm to Is|
|00000f30| 6c 61 6d 69 63 20 64 61 | 74 65 20 4d 4f 4e 54 48 |lamic da|te MONTH|
|00000f40| 2f 44 41 59 2f 59 45 41 | 52 2e 1f 0a 28 61 75 74 |/DAY/YEA|R...(aut|
|00000f50| 6f 6c 6f 61 64 20 28 71 | 75 6f 74 65 20 6d 61 72 |oload (q|uote mar|
|00000f60| 6b 2d 69 73 6c 61 6d 69 | 63 2d 63 61 6c 65 6e 64 |k-islami|c-calend|
|00000f70| 61 72 2d 64 61 74 65 2d | 70 61 74 74 65 72 6e 29 |ar-date-|pattern)|
|00000f80| 20 22 63 61 6c 2d 69 73 | 6c 61 6d 22 20 27 28 23 | "cal-is|lam" '(#|
|00000f90| 24 20 2e 20 33 38 34 30 | 29 20 74 29 0a 23 40 34 |$ . 3840|) t).#@4|
|00000fa0| 39 20 48 65 62 72 65 77 | 20 63 61 6c 65 6e 64 61 |9 Hebrew| calenda|
|00000fb0| 72 20 65 71 75 69 76 61 | 6c 65 6e 74 20 6f 66 20 |r equiva|lent of |
|00000fc0| 64 61 74 65 20 64 69 61 | 72 79 20 65 6e 74 72 79 |date dia|ry entry|
|00000fd0| 2e 1f 0a 28 61 75 74 6f | 6c 6f 61 64 20 28 71 75 |...(auto|load (qu|
|00000fe0| 6f 74 65 20 64 69 61 72 | 79 2d 68 65 62 72 65 77 |ote diar|y-hebrew|
|00000ff0| 2d 64 61 74 65 29 20 22 | 63 61 6c 2d 68 65 62 72 |-date) "|cal-hebr|
|00001000| 65 77 22 20 27 28 23 24 | 20 2e 20 34 30 30 32 29 |ew" '(#$| . 4002)|
|00001010| 20 74 29 0a 23 40 32 35 | 20 4f 6d 65 72 20 63 6f | t).#@25| Omer co|
|00001020| 75 6e 74 20 64 69 61 72 | 79 20 65 6e 74 72 79 2e |unt diar|y entry.|
|00001030| 1f 0a 28 61 75 74 6f 6c | 6f 61 64 20 28 71 75 6f |..(autol|oad (quo|
|00001040| 74 65 20 64 69 61 72 79 | 2d 6f 6d 65 72 29 20 22 |te diary|-omer) "|
|00001050| 63 61 6c 2d 68 65 62 72 | 65 77 22 20 27 28 23 24 |cal-hebr|ew" '(#$|
|00001060| 20 2e 20 34 31 32 31 29 | 20 74 29 0a 23 40 37 36 | . 4121)| t).#@76|
|00001070| 20 59 61 68 72 7a 65 69 | 74 20 64 69 61 72 79 20 | Yahrzei|t diary |
|00001080| 65 6e 74 72 79 2d 2d 65 | 6e 74 72 79 20 61 70 70 |entry--e|ntry app|
|00001090| 6c 69 65 73 20 69 66 20 | 64 61 74 65 20 69 73 20 |lies if |date is |
|000010a0| 79 61 68 72 7a 65 69 74 | 20 6f 72 20 74 68 65 20 |yahrzeit| or the |
|000010b0| 64 61 79 20 62 65 66 6f | 72 65 2e 1f 0a 28 61 75 |day befo|re...(au|
|000010c0| 74 6f 6c 6f 61 64 20 28 | 71 75 6f 74 65 20 64 69 |toload (|quote di|
|000010d0| 61 72 79 2d 79 61 68 72 | 7a 65 69 74 29 20 22 63 |ary-yahr|zeit) "c|
|000010e0| 61 6c 2d 68 65 62 72 65 | 77 22 20 27 28 23 24 20 |al-hebre|w" '(#$ |
|000010f0| 2e 20 34 32 30 39 29 20 | 74 29 0a 23 40 35 39 20 |. 4209) |t).#@59 |
|00001100| 50 61 72 61 73 68 61 20 | 64 69 61 72 79 20 65 6e |Parasha |diary en|
|00001110| 74 72 79 2d 2d 65 6e 74 | 72 79 20 61 70 70 6c 69 |try--ent|ry appli|
|00001120| 65 73 20 69 66 20 64 61 | 74 65 20 69 73 20 61 20 |es if da|te is a |
|00001130| 53 61 74 75 72 64 61 79 | 2e 1f 0a 28 61 75 74 6f |Saturday|...(auto|
|00001140| 6c 6f 61 64 20 28 71 75 | 6f 74 65 20 64 69 61 72 |load (qu|ote diar|
|00001150| 79 2d 70 61 72 61 73 68 | 61 29 20 22 63 61 6c 2d |y-parash|a) "cal-|
|00001160| 68 65 62 72 65 77 22 20 | 27 28 23 24 20 2e 20 34 |hebrew" |'(#$ . 4|
|00001170| 33 35 32 29 20 74 29 0a | 23 40 32 36 20 52 6f 73 |352) t).|#@26 Ros|
|00001180| 68 20 48 6f 64 65 73 68 | 20 64 69 61 72 79 20 65 |h Hodesh| diary e|
|00001190| 6e 74 72 79 2e 1f 0a 28 | 61 75 74 6f 6c 6f 61 64 |ntry...(|autoload|
|000011a0| 20 28 71 75 6f 74 65 20 | 64 69 61 72 79 2d 72 6f | (quote |diary-ro|
|000011b0| 73 68 2d 68 6f 64 65 73 | 68 29 20 22 63 61 6c 2d |sh-hodes|h) "cal-|
|000011c0| 68 65 62 72 65 77 22 20 | 27 28 23 24 20 2e 20 34 |hebrew" |'(#$ . 4|
|000011d0| 34 37 37 29 20 74 29 0a | 23 40 37 34 20 41 64 64 |477) t).|#@74 Add|
|000011e0| 20 61 6e 79 20 48 65 62 | 72 65 77 20 64 61 74 65 | any Heb|rew date|
|000011f0| 20 65 6e 74 72 69 65 73 | 20 66 72 6f 6d 20 74 68 | entries| from th|
|00001200| 65 20 64 69 61 72 79 20 | 66 69 6c 65 20 74 6f 20 |e diary |file to |
|00001210| 60 64 69 61 72 79 2d 65 | 6e 74 72 69 65 73 2d 6c |`diary-e|ntries-l|
|00001220| 69 73 74 27 2e 1f 0a 28 | 61 75 74 6f 6c 6f 61 64 |ist'...(|autoload|
|00001230| 20 28 71 75 6f 74 65 20 | 6c 69 73 74 2d 68 65 62 | (quote |list-heb|
|00001240| 72 65 77 2d 64 69 61 72 | 79 2d 65 6e 74 72 69 65 |rew-diar|y-entrie|
|00001250| 73 29 20 22 63 61 6c 2d | 68 65 62 72 65 77 22 20 |s) "cal-|hebrew" |
|00001260| 27 28 23 24 20 2e 20 34 | 35 37 33 29 20 74 29 0a |'(#$ . 4|573) t).|
|00001270| 23 40 37 31 20 4d 61 72 | 6b 20 64 61 79 73 20 69 |#@71 Mar|k days i|
|00001280| 6e 20 74 68 65 20 63 61 | 6c 65 6e 64 61 72 20 77 |n the ca|lendar w|
|00001290| 69 6e 64 6f 77 20 74 68 | 61 74 20 68 61 76 65 20 |indow th|at have |
|000012a0| 48 65 62 72 65 77 20 64 | 61 74 65 20 64 69 61 72 |Hebrew d|ate diar|
|000012b0| 79 20 65 6e 74 72 69 65 | 73 2e 1f 0a 28 61 75 74 |y entrie|s...(aut|
|000012c0| 6f 6c 6f 61 64 20 28 71 | 75 6f 74 65 20 6d 61 72 |oload (q|uote mar|
|000012d0| 6b 2d 68 65 62 72 65 77 | 2d 64 69 61 72 79 2d 65 |k-hebrew|-diary-e|
|000012e0| 6e 74 72 69 65 73 29 20 | 22 63 61 6c 2d 68 65 62 |ntries) |"cal-heb|
|000012f0| 72 65 77 22 20 27 28 23 | 24 20 2e 20 34 37 32 35 |rew" '(#|$ . 4725|
|00001300| 29 20 74 29 0a 23 40 37 | 35 20 4d 61 72 6b 20 64 |) t).#@7|5 Mark d|
|00001310| 61 74 65 73 20 69 6e 20 | 63 61 6c 65 6e 64 61 72 |ates in |calendar|
|00001320| 20 77 69 6e 64 6f 77 20 | 74 68 61 74 20 63 6f 6e | window |that con|
|00001330| 66 6f 72 6d 20 74 6f 20 | 48 65 62 72 65 77 20 64 |form to |Hebrew d|
|00001340| 61 74 65 20 4d 4f 4e 54 | 48 2f 44 41 59 2f 59 45 |ate MONT|H/DAY/YE|
|00001350| 41 52 2e 1f 0a 28 61 75 | 74 6f 6c 6f 61 64 20 28 |AR...(au|toload (|
|00001360| 71 75 6f 74 65 20 6d 61 | 72 6b 2d 68 65 62 72 65 |quote ma|rk-hebre|
|00001370| 77 2d 63 61 6c 65 6e 64 | 61 72 2d 64 61 74 65 2d |w-calend|ar-date-|
|00001380| 70 61 74 74 65 72 6e 29 | 20 22 63 61 6c 2d 68 65 |pattern)| "cal-he|
|00001390| 62 72 65 77 22 20 27 28 | 23 24 20 2e 20 34 38 37 |brew" '(|#$ . 487|
|000013a0| 34 29 20 74 29 0a 23 40 | 34 39 20 43 6f 70 74 69 |4) t).#@|49 Copti|
|000013b0| 63 20 63 61 6c 65 6e 64 | 61 72 20 65 71 75 69 76 |c calend|ar equiv|
|000013c0| 61 6c 65 6e 74 20 6f 66 | 20 64 61 74 65 20 64 69 |alent of| date di|
|000013d0| 61 72 79 20 65 6e 74 72 | 79 2e 1f 0a 28 61 75 74 |ary entr|y...(aut|
|000013e0| 6f 6c 6f 61 64 20 28 71 | 75 6f 74 65 20 64 69 61 |oload (q|uote dia|
|000013f0| 72 79 2d 63 6f 70 74 69 | 63 2d 64 61 74 65 29 20 |ry-copti|c-date) |
|00001400| 22 63 61 6c 2d 63 6f 70 | 74 69 63 22 20 27 28 23 |"cal-cop|tic" '(#|
|00001410| 24 20 2e 20 35 30 33 35 | 29 20 74 29 0a 23 40 35 |$ . 5035|) t).#@5|
|00001420| 31 20 45 74 68 69 6f 70 | 69 63 20 63 61 6c 65 6e |1 Ethiop|ic calen|
|00001430| 64 61 72 20 65 71 75 69 | 76 61 6c 65 6e 74 20 6f |dar equi|valent o|
|00001440| 66 20 64 61 74 65 20 64 | 69 61 72 79 20 65 6e 74 |f date d|iary ent|
|00001450| 72 79 2e 1f 0a 28 61 75 | 74 6f 6c 6f 61 64 20 28 |ry...(au|toload (|
|00001460| 71 75 6f 74 65 20 64 69 | 61 72 79 2d 65 74 68 69 |quote di|ary-ethi|
|00001470| 6f 70 69 63 2d 64 61 74 | 65 29 20 22 63 61 6c 2d |opic-dat|e) "cal-|
|00001480| 63 6f 70 74 69 63 22 20 | 27 28 23 24 20 2e 20 35 |coptic" |'(#$ . 5|
|00001490| 31 35 34 29 20 74 29 0a | 23 40 35 30 20 50 65 72 |154) t).|#@50 Per|
|000014a0| 73 69 61 6e 20 63 61 6c | 65 6e 64 61 72 20 65 71 |sian cal|endar eq|
|000014b0| 75 69 76 61 6c 65 6e 74 | 20 6f 66 20 64 61 74 65 |uivalent| of date|
|000014c0| 20 64 69 61 72 79 20 65 | 6e 74 72 79 2e 1f 0a 28 | diary e|ntry...(|
|000014d0| 61 75 74 6f 6c 6f 61 64 | 20 28 71 75 6f 74 65 20 |autoload| (quote |
|000014e0| 64 69 61 72 79 2d 70 65 | 72 73 69 61 6e 2d 64 61 |diary-pe|rsian-da|
|000014f0| 74 65 29 20 22 63 61 6c | 2d 70 65 72 73 69 61 22 |te) "cal|-persia"|
|00001500| 20 27 28 23 24 20 2e 20 | 35 32 37 37 29 20 74 29 | '(#$ . |5277) t)|
|00001510| 0a 23 40 32 36 20 4d 6f | 6f 6e 20 70 68 61 73 65 |.#@26 Mo|on phase|
|00001520| 73 20 64 69 61 72 79 20 | 65 6e 74 72 79 2e 1f 0a |s diary |entry...|
|00001530| 28 61 75 74 6f 6c 6f 61 | 64 20 28 71 75 6f 74 65 |(autoloa|d (quote|
|00001540| 20 64 69 61 72 79 2d 70 | 68 61 73 65 73 2d 6f 66 | diary-p|hases-of|
|00001550| 2d 6d 6f 6f 6e 29 20 22 | 6c 75 6e 61 72 22 20 27 |-moon) "|lunar" '|
|00001560| 28 23 24 20 2e 20 35 33 | 39 38 29 20 74 29 0a 23 |(#$ . 53|98) t).#|
|00001570| 40 35 32 20 4c 6f 63 61 | 6c 20 74 69 6d 65 20 6f |@52 Loca|l time o|
|00001580| 66 20 73 75 6e 72 69 73 | 65 20 61 6e 64 20 73 75 |f sunris|e and su|
|00001590| 6e 73 65 74 20 61 73 20 | 61 20 64 69 61 72 79 20 |nset as |a diary |
|000015a0| 65 6e 74 72 79 2e 1f 0a | 28 61 75 74 6f 6c 6f 61 |entry...|(autoloa|
|000015b0| 64 20 28 71 75 6f 74 65 | 20 64 69 61 72 79 2d 73 |d (quote| diary-s|
|000015c0| 75 6e 72 69 73 65 2d 73 | 75 6e 73 65 74 29 20 22 |unrise-s|unset) "|
|000015d0| 73 6f 6c 61 72 22 20 27 | 28 23 24 20 2e 20 35 34 |solar" '|(#$ . 54|
|000015e0| 39 32 29 20 74 29 0a 23 | 40 31 32 34 20 4c 6f 63 |92) t).#|@124 Loc|
|000015f0| 61 6c 20 74 69 6d 65 20 | 6f 66 20 63 61 6e 64 6c |al time |of candl|
|00001600| 65 20 6c 69 67 68 74 69 | 6e 67 20 64 69 61 72 79 |e lighti|ng diary|
|00001610| 20 65 6e 74 72 79 2d 2d | 61 70 70 6c 69 65 73 20 | entry--|applies |
|00001620| 69 66 20 64 61 74 65 20 | 69 73 20 61 20 46 72 69 |if date |is a Fri|
|00001630| 64 61 79 2e 0a 4e 6f 20 | 64 69 61 72 79 20 65 6e |day..No |diary en|
|00001640| 74 72 79 20 69 66 20 74 | 68 65 72 65 20 69 73 20 |try if t|here is |
|00001650| 6e 6f 20 73 75 6e 73 65 | 74 20 6f 6e 20 74 68 61 |no sunse|t on tha|
|00001660| 74 20 64 61 74 65 2e 1f | 0a 28 61 75 74 6f 6c 6f |t date..|.(autolo|
|00001670| 61 64 20 28 71 75 6f 74 | 65 20 64 69 61 72 79 2d |ad (quot|e diary-|
|00001680| 73 61 62 62 61 74 68 2d | 63 61 6e 64 6c 65 73 29 |sabbath-|candles)|
|00001690| 20 22 73 6f 6c 61 72 22 | 20 27 28 23 24 20 2e 20 | "solar"| '(#$ . |
|000016a0| 35 36 31 33 29 20 74 29 | 0a 23 40 31 38 30 20 54 |5613) t)|.#@180 T|
|000016b0| 68 65 20 73 79 6e 74 61 | 78 20 74 61 62 6c 65 20 |he synta|x table |
|000016c0| 75 73 65 64 20 77 68 65 | 6e 20 70 61 72 73 69 6e |used whe|n parsin|
|000016d0| 67 20 64 61 74 65 73 20 | 69 6e 20 74 68 65 20 64 |g dates |in the d|
|000016e0| 69 61 72 79 20 66 69 6c | 65 2e 0a 49 74 20 69 73 |iary fil|e..It is|
|000016f0| 20 74 68 65 20 73 74 61 | 6e 64 61 72 64 20 73 79 | the sta|ndard sy|
|00001700| 6e 74 61 78 20 74 61 62 | 6c 65 20 75 73 65 64 20 |ntax tab|le used |
|00001710| 69 6e 20 46 75 6e 64 61 | 6d 65 6e 74 61 6c 20 6d |in Funda|mental m|
|00001720| 6f 64 65 2c 20 62 75 74 | 20 77 69 74 68 20 74 68 |ode, but| with th|
|00001730| 65 0a 73 79 6e 74 61 78 | 20 6f 66 20 60 2a 27 20 |e.syntax| of `*' |
|00001740| 63 68 61 6e 67 65 64 20 | 74 6f 20 62 65 20 61 20 |changed |to be a |
|00001750| 77 6f 72 64 20 63 6f 6e | 73 74 69 74 75 65 6e 74 |word con|stituent|
|00001760| 2e 1f 0a 28 64 65 66 76 | 61 72 20 64 69 61 72 79 |...(defv|ar diary|
|00001770| 2d 73 79 6e 74 61 78 2d | 74 61 62 6c 65 20 28 62 |-syntax-|table (b|
|00001780| 79 74 65 2d 63 6f 64 65 | 20 22 c0 c1 20 21 87 22 |yte-code| ".. !."|
|00001790| 20 5b 63 6f 70 79 2d 73 | 79 6e 74 61 78 2d 74 61 | [copy-s|yntax-ta|
|000017a0| 62 6c 65 20 73 74 61 6e | 64 61 72 64 2d 73 79 6e |ble stan|dard-syn|
|000017b0| 74 61 78 2d 74 61 62 6c | 65 5d 20 32 29 20 28 23 |tax-tabl|e] 2) (#|
|000017c0| 24 20 2e 20 35 38 30 37 | 29 29 0a 28 6d 6f 64 69 |$ . 5807|)).(modi|
|000017d0| 66 79 2d 73 79 6e 74 61 | 78 2d 65 6e 74 72 79 20 |fy-synta|x-entry |
|000017e0| 34 32 20 22 77 22 20 64 | 69 61 72 79 2d 73 79 6e |42 "w" d|iary-syn|
|000017f0| 74 61 78 2d 74 61 62 6c | 65 29 0a 23 40 31 35 34 |tax-tabl|e).#@154|
|00001800| 38 20 43 72 65 61 74 65 | 20 61 6e 64 20 64 69 73 |8 Create| and dis|
|00001810| 70 6c 61 79 20 61 20 62 | 75 66 66 65 72 20 63 6f |play a b|uffer co|
|00001820| 6e 74 61 69 6e 69 6e 67 | 20 74 68 65 20 72 65 6c |ntaining| the rel|
|00001830| 65 76 61 6e 74 20 6c 69 | 6e 65 73 20 69 6e 20 64 |evant li|nes in d|
|00001840| 69 61 72 79 2d 66 69 6c | 65 2e 0a 54 68 65 20 61 |iary-fil|e..The a|
|00001850| 72 67 75 6d 65 6e 74 73 | 20 61 72 65 20 44 41 54 |rguments| are DAT|
|00001860| 45 20 61 6e 64 20 4e 55 | 4d 42 45 52 3b 20 74 68 |E and NU|MBER; th|
|00001870| 65 20 65 6e 74 72 69 65 | 73 20 73 65 6c 65 63 74 |e entrie|s select|
|00001880| 65 64 20 61 72 65 20 74 | 68 6f 73 65 0a 66 6f 72 |ed are t|hose.for|
|00001890| 20 4e 55 4d 42 45 52 20 | 64 61 79 73 20 73 74 61 | NUMBER |days sta|
|000018a0| 72 74 69 6e 67 20 77 69 | 74 68 20 64 61 74 65 20 |rting wi|th date |
|000018b0| 44 41 54 45 2e 20 20 54 | 68 65 20 6f 74 68 65 72 |DATE. T|he other|
|000018c0| 20 65 6e 74 72 69 65 73 | 20 61 72 65 20 68 69 64 | entries| are hid|
|000018d0| 64 65 6e 0a 75 73 69 6e | 67 20 73 65 6c 65 63 74 |den.usin|g select|
|000018e0| 69 76 65 20 64 69 73 70 | 6c 61 79 2e 0a 0a 52 65 |ive disp|lay...Re|
|000018f0| 74 75 72 6e 73 20 61 20 | 6c 69 73 74 20 6f 66 20 |turns a |list of |
|00001900| 61 6c 6c 20 72 65 6c 65 | 76 61 6e 74 20 64 69 61 |all rele|vant dia|
|00001910| 72 79 20 65 6e 74 72 69 | 65 73 20 66 6f 75 6e 64 |ry entri|es found|
|00001920| 2c 20 69 66 20 61 6e 79 | 2c 20 69 6e 20 6f 72 64 |, if any|, in ord|
|00001930| 65 72 20 62 79 20 64 61 | 74 65 2e 0a 54 68 65 20 |er by da|te..The |
|00001940| 6c 69 73 74 20 65 6e 74 | 72 69 65 73 20 68 61 76 |list ent|ries hav|
|00001950| 65 20 74 68 65 20 66 6f | 72 6d 20 28 28 6d 6f 6e |e the fo|rm ((mon|
|00001960| 74 68 20 64 61 79 20 79 | 65 61 72 29 20 73 74 72 |th day y|ear) str|
|00001970| 69 6e 67 29 2e 20 20 49 | 66 20 74 68 65 20 76 61 |ing). I|f the va|
|00001980| 72 69 61 62 6c 65 0a 60 | 64 69 61 72 79 2d 6c 69 |riable.`|diary-li|
|00001990| 73 74 2d 69 6e 63 6c 75 | 64 65 2d 62 6c 61 6e 6b |st-inclu|de-blank|
|000019a0| 73 27 20 69 73 20 74 2c | 20 74 68 69 73 20 6c 69 |s' is t,| this li|
|000019b0| 73 74 20 69 6e 63 6c 75 | 64 65 73 20 61 20 64 75 |st inclu|des a du|
|000019c0| 6d 6d 79 20 64 69 61 72 | 79 20 65 6e 74 72 79 0a |mmy diar|y entry.|
|000019d0| 28 63 6f 6e 73 69 73 74 | 69 6e 67 20 6f 66 20 74 |(consist|ing of t|
|000019e0| 68 65 20 65 6d 70 74 79 | 20 73 74 72 69 6e 67 29 |he empty| string)|
|000019f0| 20 66 6f 72 20 61 20 64 | 61 74 65 20 77 69 74 68 | for a d|ate with|
|00001a00| 20 6e 6f 20 64 69 61 72 | 79 20 65 6e 74 72 69 65 | no diar|y entrie|
|00001a10| 73 2e 0a 0a 41 66 74 65 | 72 20 74 68 65 20 6c 69 |s...Afte|r the li|
|00001a20| 73 74 20 69 73 20 70 72 | 65 70 61 72 65 64 2c 20 |st is pr|epared, |
|00001a30| 74 68 65 20 68 6f 6f 6b | 73 20 60 6e 6f 6e 67 72 |the hook|s `nongr|
|00001a40| 65 67 6f 72 69 61 6e 2d | 64 69 61 72 79 2d 6c 69 |egorian-|diary-li|
|00001a50| 73 74 69 6e 67 2d 68 6f | 6f 6b 27 2c 0a 60 6c 69 |sting-ho|ok',.`li|
|00001a60| 73 74 2d 64 69 61 72 79 | 2d 65 6e 74 72 69 65 73 |st-diary|-entries|
|00001a70| 2d 68 6f 6f 6b 27 2c 20 | 60 64 69 61 72 79 2d 64 |-hook', |`diary-d|
|00001a80| 69 73 70 6c 61 79 2d 68 | 6f 6f 6b 27 2c 20 61 6e |isplay-h|ook', an|
|00001a90| 64 20 60 64 69 61 72 79 | 2d 68 6f 6f 6b 27 20 61 |d `diary|-hook' a|
|00001aa0| 72 65 20 72 75 6e 2e 0a | 54 68 65 73 65 20 68 6f |re run..|These ho|
|00001ab0| 6f 6b 73 20 68 61 76 65 | 20 74 68 65 20 66 6f 6c |oks have| the fol|
|00001ac0| 6c 6f 77 69 6e 67 20 64 | 69 73 74 69 6e 63 74 20 |lowing d|istinct |
|00001ad0| 72 6f 6c 65 73 3a 0a 0a | 20 20 20 20 60 6e 6f 6e |roles:..| `non|
|00001ae0| 67 72 65 67 6f 72 69 61 | 6e 2d 64 69 61 72 79 2d |gregoria|n-diary-|
|00001af0| 6c 69 73 74 69 6e 67 2d | 68 6f 6f 6b 27 20 63 61 |listing-|hook' ca|
|00001b00| 6e 20 63 75 6c 6c 20 64 | 61 74 65 73 20 66 72 6f |n cull d|ates fro|
|00001b10| 6d 20 74 68 65 20 64 69 | 61 72 79 0a 20 20 20 20 |m the di|ary. |
|00001b20| 20 20 20 20 61 6e 64 20 | 65 61 63 68 20 69 6e 63 | and |each inc|
|00001b30| 6c 75 64 65 64 20 66 69 | 6c 65 2e 20 20 55 73 75 |luded fi|le. Usu|
|00001b40| 61 6c 6c 79 20 75 73 65 | 64 20 66 6f 72 20 48 65 |ally use|d for He|
|00001b50| 62 72 65 77 20 6f 72 20 | 49 73 6c 61 6d 69 63 0a |brew or |Islamic.|
|00001b60| 20 20 20 20 20 20 20 20 | 64 69 61 72 79 20 65 6e | |diary en|
|00001b70| 74 72 69 65 73 20 69 6e | 20 66 69 6c 65 73 2e 20 |tries in| files. |
|00001b80| 20 41 70 70 6c 69 65 64 | 20 74 6f 20 2a 65 61 63 | Applied| to *eac|
|00001b90| 68 2a 20 66 69 6c 65 2e | 0a 0a 20 20 20 20 60 6c |h* file.|.. `l|
|00001ba0| 69 73 74 2d 64 69 61 72 | 79 2d 65 6e 74 72 69 65 |ist-diar|y-entrie|
|00001bb0| 73 2d 68 6f 6f 6b 27 20 | 61 64 64 73 20 6f 72 20 |s-hook' |adds or |
|00001bc0| 6d 61 6e 69 70 75 6c 61 | 74 65 73 20 64 69 61 72 |manipula|tes diar|
|00001bd0| 79 20 65 6e 74 72 69 65 | 73 20 66 72 6f 6d 0a 20 |y entrie|s from. |
|00001be0| 20 20 20 20 20 20 20 65 | 78 74 65 72 6e 61 6c 20 | e|xternal |
|00001bf0| 73 6f 75 72 63 65 73 2e | 20 20 55 73 65 64 2c 20 |sources.| Used, |
|00001c00| 66 6f 72 20 65 78 61 6d | 70 6c 65 2c 20 74 6f 20 |for exam|ple, to |
|00001c10| 69 6e 63 6c 75 64 65 20 | 64 69 61 72 79 20 65 6e |include |diary en|
|00001c20| 74 72 69 65 73 0a 20 20 | 20 20 20 20 20 20 66 72 |tries. | fr|
|00001c30| 6f 6d 20 6f 74 68 65 72 | 20 66 69 6c 65 73 20 6f |om other| files o|
|00001c40| 72 20 74 6f 20 73 6f 72 | 74 20 74 68 65 20 64 69 |r to sor|t the di|
|00001c50| 61 72 79 20 65 6e 74 72 | 69 65 73 2e 20 20 49 6e |ary entr|ies. In|
|00001c60| 76 6f 6b 65 64 20 2a 6f | 6e 63 65 2a 20 6f 6e 6c |voked *o|nce* onl|
|00001c70| 79 2c 0a 20 20 20 20 20 | 20 20 20 62 65 66 6f 72 |y,. | befor|
|00001c80| 65 20 74 68 65 20 64 69 | 73 70 6c 61 79 20 68 6f |e the di|splay ho|
|00001c90| 6f 6b 20 69 73 20 72 75 | 6e 2e 0a 0a 20 20 20 20 |ok is ru|n... |
|00001ca0| 60 64 69 61 72 79 2d 64 | 69 73 70 6c 61 79 2d 68 |`diary-d|isplay-h|
|00001cb0| 6f 6f 6b 27 20 64 6f 65 | 73 20 74 68 65 20 61 63 |ook' doe|s the ac|
|00001cc0| 74 75 61 6c 20 64 69 73 | 70 6c 61 79 20 6f 66 20 |tual dis|play of |
|00001cd0| 69 6e 66 6f 72 6d 61 74 | 69 6f 6e 2e 20 20 49 66 |informat|ion. If|
|00001ce0| 20 74 68 69 73 20 69 73 | 0a 20 20 20 20 20 20 20 | this is|. |
|00001cf0| 20 6e 69 6c 2c 20 73 69 | 6d 70 6c 65 2d 64 69 61 | nil, si|mple-dia|
|00001d00| 72 79 2d 64 69 73 70 6c | 61 79 20 77 69 6c 6c 20 |ry-displ|ay will |
|00001d10| 62 65 20 75 73 65 64 2e | 20 20 55 73 65 20 61 64 |be used.| Use ad|
|00001d20| 64 2d 68 6f 6f 6b 20 74 | 6f 20 73 65 74 20 74 68 |d-hook t|o set th|
|00001d30| 69 73 20 74 6f 0a 20 20 | 20 20 20 20 20 20 66 61 |is to. | fa|
|00001d40| 6e 63 79 2d 64 69 61 72 | 79 2d 64 69 73 70 6c 61 |ncy-diar|y-displa|
|00001d50| 79 2c 20 69 66 20 64 65 | 73 69 72 65 64 2e 20 20 |y, if de|sired. |
|00001d60| 49 66 20 79 6f 75 20 77 | 61 6e 74 20 6e 6f 20 64 |If you w|ant no d|
|00001d70| 69 61 72 79 20 64 69 73 | 70 6c 61 79 2c 20 75 73 |iary dis|play, us|
|00001d80| 65 0a 20 20 20 20 20 20 | 20 20 61 64 64 2d 68 6f |e. | add-ho|
|00001d90| 6f 6b 20 74 6f 20 73 65 | 74 20 74 68 69 73 20 74 |ok to se|t this t|
|00001da0| 6f 20 69 67 6e 6f 72 65 | 2e 0a 0a 20 20 20 20 60 |o ignore|... `|
|00001db0| 64 69 61 72 79 2d 68 6f | 6f 6b 27 20 69 73 20 72 |diary-ho|ok' is r|
|00001dc0| 75 6e 20 6c 61 73 74 2e | 20 20 54 68 69 73 20 63 |un last.| This c|
|00001dd0| 61 6e 20 62 65 20 75 73 | 65 64 20 66 6f 72 20 61 |an be us|ed for a|
|00001de0| 6e 20 61 70 70 6f 69 6e | 74 6d 65 6e 74 0a 20 20 |n appoin|tment. |
|00001df0| 20 20 20 20 20 20 6e 6f | 74 69 66 69 63 61 74 69 | no|tificati|
|00001e00| 6f 6e 20 66 75 6e 63 74 | 69 6f 6e 2e 1f 0a 28 64 |on funct|ion...(d|
|00001e10| 65 66 61 6c 69 61 73 20 | 27 6c 69 73 74 2d 64 69 |efalias |'list-di|
|00001e20| 61 72 79 2d 65 6e 74 72 | 69 65 73 20 23 5b 28 64 |ary-entr|ies #[(d|
|00001e30| 61 74 65 20 6e 75 6d 62 | 65 72 29 20 22 c0 09 57 |ate numb|er) "..W|
|00001e40| 85 b4 02 5c 6e 1b c4 1d | c4 1e 06 c7 5c 6e 21 1e |...\n...|....\n!.|
|00001e50| 08 c9 0e 5c 6e 21 1e 0b | cc cd 21 88 8a ce 0e 0b |...\n!..|..!.....|
|00001e60| 21 89 1e 0f 83 2c 00 0e | 0f 82 31 00 d0 0e 0b d1 |!....,..|..1.....|
|00001e70| 5c 22 71 88 29 d1 16 12 | c4 16 13 d4 20 15 d5 0e |\"q.)...|.... ...|
|00001e80| 16 21 88 d7 8e c4 d8 20 | d9 0e 1a 21 1e 1b 1e 1c |.!..... |...!....|
|00001e90| 1e 1d 64 53 62 88 de df | 21 84 62 00 e0 75 88 e1 |..dSb...|!.b..u..|
|00001ea0| e2 21 88 65 62 88 de df | 21 84 6f 00 e1 e2 21 88 |.!.eb...|!.o...!.|
|00001eb0| e3 65 64 e4 e5 d1 25 88 | c0 1e 26 09 0e 26 54 89 |.ed...%.|..&..&T.|
|00001ec0| 16 26 59 83 7c 02 0e 27 | 5c 6e 89 1a 40 29 5c 6e |.&Y.|..'|\n..@)\n|
|00001ed0| 89 1a 41 40 29 5c 6e 89 | 1a 41 41 40 29 e8 5c 6e |..A@)\n.|.AA@).\n|
|00001ee0| 21 1e 29 1e 2a 1e 2b 1e | 2c 89 1e 2d 83 c5 01 0e |!.).*.+.|,..-....|
|00001ef0| 2d 40 40 ee 9a 83 ba 00 | 0e 2d 40 41 82 bd 00 0e |-@@.....|.-@A....|
|00001f00| 2d 40 1e 2f 0e 2d 40 40 | ee 9a 1e 2e f0 5c 6e 21 |-@./.-@@|.....\n!|
|00001f10| f1 f0 5c 6e 21 c0 f2 4f | f3 52 1e 34 f5 f6 0e 2c |..\n!..O|.R.4...,|
|00001f20| 21 f1 f6 0e 2c 21 c0 f2 | 4f f3 b0 05 1e 37 f8 f9 |!...,!..|O....7..|
|00001f30| 0e 2c 21 50 1e 2c f8 f9 | 0e 2b 21 50 1e 2b f8 f9 |.,!P.,..|.+!P.+..|
|00001f40| 0e 2a 21 0e 3a 83 5c 66 | 01 f1 f9 0e 2a fb a6 21 |.*!.:.\f|....*..!|
|00001f50| 50 82 0d 01 fc 51 1e 2a | fd 0e 1b fe ff 81 40 00 |P....Q.*|......@.|
|00001f60| 0e 2f 81 41 00 23 81 42 | 00 b0 05 1e 43 d1 1e 44 |./.A.#.B|....C..D|
|00001f70| 65 62 88 81 45 00 0e 43 | c4 d1 23 83 ba 01 0e 2e |eb..E..C|..#.....|
|00001f80| 83 45 01 81 46 00 81 47 | 00 c4 d1 23 88 81 48 00 |.E..F..G|...#..H.|
|00001f90| 68 e5 5c 22 84 57 01 81 | 48 00 68 e4 5c 22 83 68 |h.\".W..|H.h.\".h|
|00001fa0| 01 de 81 49 00 21 84 68 | 01 81 4a 00 e0 21 88 82 |...I.!.h|..J..!..|
|00001fb0| 2b 01 d1 16 29 60 c4 1e | 4b 1e 4c 81 46 00 81 4d |+...)`..|K.L.F..M|
|00001fc0| 00 21 88 60 16 4b 81 45 | 00 df c4 d1 81 4e 00 24 |.!.`.K.E|.....N.$|
|00001fd0| 88 de 81 49 00 21 83 9a | 01 81 45 00 df c4 d1 23 |...I.!..|..E....#|
|00001fe0| 88 82 87 01 81 4a 00 e0 | 21 88 e3 0e 4b 60 e5 e4 |.....J..|!...K`..|
|00001ff0| d1 25 88 81 4f 00 5c 6e | 81 50 00 0e 4c 60 5c 22 |.%..O.\n|.P..L`\"|
|00002000| 5c 22 88 2a 82 2b 01 2e | 09 0e 2d 41 89 16 2d 84 |\".*.+..|..-A..-.|
|00002010| aa 00 0e 29 84 db 01 0e | 51 83 db 01 81 52 00 0e |...)....|Q....R..|
|00002020| 06 5c 6e fc 44 43 5c 22 | 16 06 81 53 00 5c 6e 89 |.\n.DC\"|...S.\n.|
|00002030| 1a 89 1a 41 41 40 29 53 | 1e 54 5c 6e 89 1a 89 1a |...AA@)S|.T\n....|
|00002040| 40 29 1e 2c 5c 6e 89 1a | 41 40 29 1e 2b 5c 6e 89 |@).,\n..|A@).+\n.|
|00002050| 1a 41 41 40 29 1e 2a 0e | 2b 0e 2c 53 81 55 00 5f |.AA@).*.|+.,S.U._|
|00002060| 5c 5c 1e 56 0e 2c 81 4e | 00 56 83 53 02 0e 56 0e |\\.V.,.N|.V.S..V.|
|00002070| 2c 81 57 00 5f 81 58 00 | 5c 5c e4 a5 5a 16 56 0e |,.W._.X.|\\..Z.V.|
|00002080| 2a 89 1e 2a 81 57 00 a6 | c0 55 85 4a 02 0e 2a fb |*..*.W..|.U.J..*.|
|00002090| a6 c0 55 3f 86 4a 02 0e | 2a 81 59 00 a6 c0 55 29 |..U?.J..|*.Y...U)|
|000020a0| 83 53 02 0e 56 54 16 56 | 0e 56 2d 0e 54 81 5a 00 |.S..VT.V|.V-.T.Z.|
|000020b0| 5f 5c 5c 0e 54 81 57 00 | a5 5c 5c 0e 54 fb a5 5b |_\\.T.W.|.\\.T..[|
|000020c0| 5c 5c 0e 54 81 59 00 a5 | 5c 5c 2a 54 21 12 c4 16 |\\.T.Y..|\\*T!...|
|000020d0| 29 2d 82 7a 00 29 81 5b | 00 0e 1c 21 88 2c 65 62 |)-.z.).[|...!.,eb|
|000020e0| 88 81 5c 5c 00 81 5d 00 | 81 5e 00 5c 22 88 0e 5f |..\\..].|.^.\".._|
|000020f0| 83 a3 02 81 5c 5c 00 81 | 5f 00 21 88 82 a8 02 81 |....\\..|_.!.....|
|00002100| 60 00 20 88 81 5c 5c 00 | 81 61 00 21 88 0e 06 2e |`. ..\\.|.a.!....|
|00002110| 06 87 22 20 5b 30 20 6e | 75 6d 62 65 72 20 64 61 |.." [0 n|umber da|
|00002120| 74 65 20 6f 72 69 67 69 | 6e 61 6c 2d 64 61 74 65 |te origi|nal-date|
|00002130| 20 6e 69 6c 20 6f 6c 64 | 2d 64 69 61 72 79 2d 73 | nil old|-diary-s|
|00002140| 79 6e 74 61 78 2d 74 61 | 62 6c 65 20 64 69 61 72 |yntax-ta|ble diar|
|00002150| 79 2d 65 6e 74 72 69 65 | 73 2d 6c 69 73 74 20 63 |y-entrie|s-list c|
|00002160| 61 6c 65 6e 64 61 72 2d | 64 61 74 65 2d 73 74 72 |alendar-|date-str|
|00002170| 69 6e 67 20 64 61 74 65 | 2d 73 74 72 69 6e 67 20 |ing date|-string |
|00002180| 73 75 62 73 74 69 74 75 | 74 65 2d 69 6e 2d 66 69 |substitu|te-in-fi|
|00002190| 6c 65 2d 6e 61 6d 65 20 | 64 69 61 72 79 2d 66 69 |le-name |diary-fi|
|000021a0| 6c 65 20 64 2d 66 69 6c | 65 20 6d 65 73 73 61 67 |le d-fil|e messag|
|000021b0| 65 20 22 50 72 65 70 61 | 72 69 6e 67 20 64 69 61 |e "Prepa|ring dia|
|000021c0| 72 79 2e 2e 2e 22 20 66 | 69 6e 64 2d 62 75 66 66 |ry..." f|ind-buff|
|000021d0| 65 72 2d 76 69 73 69 74 | 69 6e 67 20 64 69 61 72 |er-visit|ing diar|
|000021e0| 79 2d 62 75 66 66 65 72 | 20 66 69 6e 64 2d 66 69 |y-buffer| find-fi|
|000021f0| 6c 65 2d 6e 6f 73 65 6c | 65 63 74 20 74 20 73 65 |le-nosel|ect t se|
|00002200| 6c 65 63 74 69 76 65 2d | 64 69 73 70 6c 61 79 20 |lective-|display |
|00002210| 73 65 6c 65 63 74 69 76 | 65 2d 64 69 73 70 6c 61 |selectiv|e-displa|
|00002220| 79 2d 65 6c 6c 69 70 73 | 65 73 20 73 79 6e 74 61 |y-ellips|es synta|
|00002230| 78 2d 74 61 62 6c 65 20 | 73 65 74 2d 73 79 6e 74 |x-table |set-synt|
|00002240| 61 78 2d 74 61 62 6c 65 | 20 64 69 61 72 79 2d 73 |ax-table| diary-s|
|00002250| 79 6e 74 61 78 2d 74 61 | 62 6c 65 20 28 28 73 65 |yntax-ta|ble ((se|
|00002260| 74 2d 73 79 6e 74 61 78 | 2d 74 61 62 6c 65 20 6f |t-syntax|-table o|
|00002270| 6c 64 2d 64 69 61 72 79 | 2d 73 79 6e 74 61 78 2d |ld-diary|-syntax-|
|00002280| 74 61 62 6c 65 29 29 20 | 62 75 66 66 65 72 2d 6d |table)) |buffer-m|
|00002290| 6f 64 69 66 69 65 64 2d | 70 20 72 65 67 65 78 70 |odified-|p regexp|
|000022a0| 2d 71 75 6f 74 65 20 64 | 69 61 72 79 2d 6e 6f 6e |-quote d|iary-non|
|000022b0| 6d 61 72 6b 69 6e 67 2d | 73 79 6d 62 6f 6c 20 6d |marking-|symbol m|
|000022c0| 61 72 6b 20 64 69 61 72 | 79 2d 6d 6f 64 69 66 69 |ark diar|y-modifi|
|000022d0| 65 64 20 62 75 66 66 65 | 72 2d 72 65 61 64 2d 6f |ed buffe|r-read-o|
|000022e0| 6e 6c 79 20 6c 6f 6f 6b | 69 6e 67 2d 61 74 20 22 |nly look|ing-at "|
|000022f0| 0d 5c 5c 7c 5c 6e 22 20 | 31 20 69 6e 73 65 72 74 |.\\|\n" |1 insert|
|00002300| 2d 73 74 72 69 6e 67 20 | 22 0d 22 20 73 75 62 73 |-string |"." subs|
|00002310| 74 2d 63 68 61 72 2d 69 | 6e 2d 72 65 67 69 6f 6e |t-char-i|n-region|
|00002320| 20 31 30 20 31 33 20 69 | 20 64 69 61 72 79 2d 64 | 10 13 i| diary-d|
|00002330| 61 74 65 2d 66 6f 72 6d | 73 20 6c 69 73 74 2d 73 |ate-form|s list-s|
|00002340| 65 78 70 2d 64 69 61 72 | 79 2d 65 6e 74 72 69 65 |exp-diar|y-entrie|
|00002350| 73 20 65 6e 74 72 79 2d | 66 6f 75 6e 64 20 79 65 |s entry-|found ye|
|00002360| 61 72 20 64 61 79 20 6d | 6f 6e 74 68 20 64 20 62 |ar day m|onth d b|
|00002370| 61 63 6b 75 70 20 64 61 | 74 65 2d 66 6f 72 6d 20 |ackup da|te-form |
|00002380| 63 61 6c 65 6e 64 61 72 | 2d 64 61 79 2d 6e 61 6d |calendar|-day-nam|
|00002390| 65 20 22 5c 5c 7c 22 20 | 33 20 22 2e 3f 22 20 64 |e "\\|" |3 ".?" d|
|000023a0| 61 79 6e 61 6d 65 20 22 | 5c 5c 2a 5c 5c 7c 22 20 |ayname "|\\*\\|" |
|000023b0| 63 61 6c 65 6e 64 61 72 | 2d 6d 6f 6e 74 68 2d 6e |calendar|-month-n|
|000023c0| 61 6d 65 20 6d 6f 6e 74 | 68 6e 61 6d 65 20 22 5c |ame mont|hname "\|
|000023d0| 5c 2a 5c 5c 7c 30 2a 22 | 20 69 6e 74 2d 74 6f 2d |\*\\|0*"| int-to-|
|000023e0| 73 74 72 69 6e 67 20 61 | 62 62 72 65 76 69 61 74 |string a|bbreviat|
|000023f0| 65 64 2d 63 61 6c 65 6e | 64 61 72 2d 79 65 61 72 |ed-calen|dar-year|
|00002400| 20 31 30 30 20 22 22 20 | 22 5c 5c 28 5c 5c 60 5c | 100 "" |"\\(\\`\|
|00002410| 5c 7c 0d 5c 5c 7c 5c 6e | 5c 5c 29 22 20 22 3f 5c |\|.\\|\n|\\)" "?\|
|00002420| 5c 28 22 20 6d 61 70 63 | 6f 6e 63 61 74 20 65 76 |\(" mapc|oncat ev|
|00002430| 61 6c 20 22 5c 5c 29 5c | 5c 28 22 20 22 5c 5c 29 |al "\\)\|\(" "\\)|
|00002440| 22 20 72 65 67 65 78 70 | 20 63 61 73 65 2d 66 6f |" regexp| case-fo|
|00002450| 6c 64 2d 73 65 61 72 63 | 68 20 72 65 2d 73 65 61 |ld-searc|h re-sea|
|00002460| 72 63 68 2d 66 6f 72 77 | 61 72 64 20 72 65 2d 73 |rch-forw|ard re-s|
|00002470| 65 61 72 63 68 2d 62 61 | 63 6b 77 61 72 64 20 22 |earch-ba|ckward "|
|00002480| 5c 5c 3c 22 20 63 68 61 | 72 2d 65 71 75 61 6c 20 |\\<" cha|r-equal |
|00002490| 22 20 5c 5c 7c 09 22 20 | 62 61 63 6b 77 61 72 64 |" \\|." |backward|
|000024a0| 2d 63 68 61 72 20 64 61 | 74 65 2d 73 74 61 72 74 |-char da|te-start|
|000024b0| 20 65 6e 74 72 79 2d 73 | 74 61 72 74 20 22 0d 5c | entry-s|tart ".\|
|000024c0| 5c 7c 5c 6e 5c 5c 7c 5c | 5c 60 22 20 32 20 61 64 |\|\n\\|\|\`" 2 ad|
|000024d0| 64 2d 74 6f 2d 64 69 61 | 72 79 2d 6c 69 73 74 20 |d-to-dia|ry-list |
|000024e0| 62 75 66 66 65 72 2d 73 | 75 62 73 74 72 69 6e 67 |buffer-s|ubstring|
|000024f0| 2d 6e 6f 2d 70 72 6f 70 | 65 72 74 69 65 73 20 64 |-no-prop|erties d|
|00002500| 69 61 72 79 2d 6c 69 73 | 74 2d 69 6e 63 6c 75 64 |iary-lis|t-includ|
|00002510| 65 2d 62 6c 61 6e 6b 73 | 20 61 70 70 65 6e 64 20 |e-blanks| append |
|00002520| 63 61 6c 65 6e 64 61 72 | 2d 67 72 65 67 6f 72 69 |calendar|-gregori|
|00002530| 61 6e 2d 66 72 6f 6d 2d | 61 62 73 6f 6c 75 74 65 |an-from-|absolute|
|00002540| 20 70 72 69 6f 72 2d 79 | 65 61 72 73 20 33 31 20 | prior-y|ears 31 |
|00002550| 64 61 79 2d 6f 66 2d 79 | 65 61 72 20 34 20 32 33 |day-of-y|ear 4 23|
|00002560| 20 34 30 30 20 33 36 35 | 20 73 65 74 2d 62 75 66 | 400 365| set-buf|
|00002570| 66 65 72 2d 6d 6f 64 69 | 66 69 65 64 2d 70 20 72 |fer-modi|fied-p r|
|00002580| 75 6e 2d 68 6f 6f 6b 73 | 20 6e 6f 6e 67 72 65 67 |un-hooks| nongreg|
|00002590| 6f 72 69 61 6e 2d 64 69 | 61 72 79 2d 6c 69 73 74 |orian-di|ary-list|
|000025a0| 69 6e 67 2d 68 6f 6f 6b | 20 6c 69 73 74 2d 64 69 |ing-hook| list-di|
|000025b0| 61 72 79 2d 65 6e 74 72 | 69 65 73 2d 68 6f 6f 6b |ary-entr|ies-hook|
|000025c0| 20 64 69 61 72 79 2d 64 | 69 73 70 6c 61 79 2d 68 | diary-d|isplay-h|
|000025d0| 6f 6f 6b 20 73 69 6d 70 | 6c 65 2d 64 69 61 72 79 |ook simp|le-diary|
|000025e0| 2d 64 69 73 70 6c 61 79 | 20 64 69 61 72 79 2d 68 |-display| diary-h|
|000025f0| 6f 6f 6b 5d 20 38 20 28 | 23 24 20 2e 20 36 31 34 |ook] 8 (|#$ . 614|
|00002600| 36 29 5d 29 0a 23 40 34 | 39 36 20 49 6e 63 6c 75 |6)]).#@4|96 Inclu|
|00002610| 64 65 20 74 68 65 20 64 | 69 61 72 79 20 65 6e 74 |de the d|iary ent|
|00002620| 72 69 65 73 20 66 72 6f | 6d 20 6f 74 68 65 72 20 |ries fro|m other |
|00002630| 64 69 61 72 79 20 66 69 | 6c 65 73 20 77 69 74 68 |diary fi|les with|
|00002640| 20 74 68 6f 73 65 20 6f | 66 20 64 69 61 72 79 2d | those o|f diary-|
|00002650| 66 69 6c 65 2e 0a 54 68 | 69 73 20 66 75 6e 63 74 |file..Th|is funct|
|00002660| 69 6f 6e 20 69 73 20 73 | 75 69 74 61 62 6c 65 20 |ion is s|uitable |
|00002670| 66 6f 72 20 75 73 65 20 | 69 6e 20 60 6c 69 73 74 |for use |in `list|
|00002680| 2d 64 69 61 72 79 2d 65 | 6e 74 72 69 65 73 2d 68 |-diary-e|ntries-h|
|00002690| 6f 6f 6b 27 3b 0a 69 74 | 20 65 6e 61 62 6c 65 73 |ook';.it| enables|
|000026a0| 20 79 6f 75 20 74 6f 20 | 75 73 65 20 73 68 61 72 | you to |use shar|
|000026b0| 65 64 20 64 69 61 72 79 | 20 66 69 6c 65 73 20 74 |ed diary| files t|
|000026c0| 6f 67 65 74 68 65 72 20 | 77 69 74 68 20 79 6f 75 |ogether |with you|
|000026d0| 72 20 6f 77 6e 2e 0a 54 | 68 65 20 66 69 6c 65 73 |r own..T|he files|
|000026e0| 20 69 6e 63 6c 75 64 65 | 64 20 61 72 65 20 73 70 | include|d are sp|
|000026f0| 65 63 69 66 69 65 64 20 | 69 6e 20 74 68 65 20 64 |ecified |in the d|
|00002700| 69 61 72 79 66 69 6c 65 | 20 62 79 20 6c 69 6e 65 |iaryfile| by line|
|00002710| 73 20 6f 66 20 74 68 69 | 73 20 66 6f 72 6d 3a 0a |s of thi|s form:.|
|00002720| 20 20 20 20 20 20 20 20 | 23 69 6e 63 6c 75 64 65 | |#include|
|00002730| 20 22 66 69 6c 65 6e 61 | 6d 65 22 0a 54 68 69 73 | "filena|me".This|
|00002740| 20 69 73 20 72 65 63 75 | 72 73 69 76 65 3b 20 74 | is recu|rsive; t|
|00002750| 68 61 74 20 69 73 2c 20 | 23 69 6e 63 6c 75 64 65 |hat is, |#include|
|00002760| 20 64 69 72 65 63 74 69 | 76 65 73 20 69 6e 20 64 | directi|ves in d|
|00002770| 69 61 72 79 20 66 69 6c | 65 73 20 74 68 75 73 20 |iary fil|es thus |
|00002780| 69 6e 63 6c 75 64 65 64 | 0a 61 72 65 20 6f 62 65 |included|.are obe|
|00002790| 79 65 64 2e 20 20 59 6f | 75 20 63 61 6e 20 63 68 |yed. Yo|u can ch|
|000027a0| 61 6e 67 65 20 74 68 65 | 20 60 23 69 6e 63 6c 75 |ange the| `#inclu|
|000027b0| 64 65 27 20 74 6f 20 73 | 6f 6d 65 20 6f 74 68 65 |de' to s|ome othe|
|000027c0| 72 20 73 74 72 69 6e 67 | 20 62 79 0a 63 68 61 6e |r string| by.chan|
|000027d0| 67 69 6e 67 20 74 68 65 | 20 76 61 72 69 61 62 6c |ging the| variabl|
|000027e0| 65 20 60 64 69 61 72 79 | 2d 69 6e 63 6c 75 64 65 |e `diary|-include|
|000027f0| 2d 73 74 72 69 6e 67 27 | 2e 1f 0a 28 64 65 66 61 |-string'|...(defa|
|00002800| 6c 69 61 73 20 27 69 6e | 63 6c 75 64 65 2d 6f 74 |lias 'in|clude-ot|
|00002810| 68 65 72 2d 64 69 61 72 | 79 2d 66 69 6c 65 73 20 |her-diar|y-files |
|00002820| 23 5b 6e 69 6c 20 22 65 | 62 88 c0 c1 c2 0b 21 c4 |#[nil "e|b.....!.|
|00002830| 51 c5 c6 23 83 67 00 c7 | c8 c9 94 c9 95 5c 22 21 |Q..#.g..|.....\"!|
|00002840| c5 ca cb c5 1e 5c 66 1e | 0d 1e 0e 1e 0f 1e 10 d1 |.....\f.|........|
|00002850| 0e 10 21 83 56 00 d2 0e | 10 21 83 46 00 d3 8e d4 |..!.V...|.!.F....|
|00002860| 0e 15 d6 0e 17 0e 18 5c | 22 5c 22 16 15 29 82 63 |.......\|"\"..).c|
|00002870| 00 d9 20 88 da db 0e 10 | 5c 22 88 dc c9 21 88 82 |.. .....|\"...!..|
|00002880| 63 00 d9 20 88 da dd 0e | 10 5c 22 88 dc c9 21 88 |c.. ....|.\"...!.|
|00002890| 2d 82 03 00 65 62 87 22 | 20 5b 72 65 2d 73 65 61 |-...eb."| [re-sea|
|000028a0| 72 63 68 2d 66 6f 72 77 | 61 72 64 20 22 5c 5c 28 |rch-forw|ard "\\(|
|000028b0| 5c 5c 60 5c 5c 7c 0d 5c | 5c 7c 5c 6e 5c 5c 29 22 |\\`\\|.\|\|\n\\)"|
|000028c0| 20 72 65 67 65 78 70 2d | 71 75 6f 74 65 20 64 69 | regexp-|quote di|
|000028d0| 61 72 79 2d 69 6e 63 6c | 75 64 65 2d 73 74 72 69 |ary-incl|ude-stri|
|000028e0| 6e 67 20 22 20 5c 22 5c | 5c 28 5b 5e 5c 22 5d 2a |ng " \"\|\([^\"]*|
|000028f0| 5c 5c 29 5c 22 22 20 6e | 69 6c 20 74 20 73 75 62 |\\)\"" n|il t sub|
|00002900| 73 74 69 74 75 74 65 2d | 69 6e 2d 66 69 6c 65 2d |stitute-|in-file-|
|00002910| 6e 61 6d 65 20 62 75 66 | 66 65 72 2d 73 75 62 73 |name buf|fer-subs|
|00002920| 74 72 69 6e 67 2d 6e 6f | 2d 70 72 6f 70 65 72 74 |tring-no|-propert|
|00002930| 69 65 73 20 32 20 69 6e | 63 6c 75 64 65 2d 6f 74 |ies 2 in|clude-ot|
|00002940| 68 65 72 2d 64 69 61 72 | 79 2d 66 69 6c 65 73 20 |her-diar|y-files |
|00002950| 69 67 6e 6f 72 65 20 64 | 69 61 72 79 2d 68 6f 6f |ignore d|iary-hoo|
|00002960| 6b 20 64 69 61 72 79 2d | 64 69 73 70 6c 61 79 2d |k diary-|display-|
|00002970| 68 6f 6f 6b 20 6c 69 73 | 74 2d 64 69 61 72 79 2d |hook lis|t-diary-|
|00002980| 65 6e 74 72 69 65 73 2d | 68 6f 6f 6b 20 64 69 61 |entries-|hook dia|
|00002990| 72 79 2d 6c 69 73 74 2d | 69 6e 63 6c 75 64 65 2d |ry-list-|include-|
|000029a0| 62 6c 61 6e 6b 73 20 64 | 69 61 72 79 2d 66 69 6c |blanks d|iary-fil|
|000029b0| 65 20 66 69 6c 65 2d 65 | 78 69 73 74 73 2d 70 20 |e file-e|xists-p |
|000029c0| 66 69 6c 65 2d 72 65 61 | 64 61 62 6c 65 2d 70 20 |file-rea|dable-p |
|000029d0| 28 28 62 79 74 65 2d 63 | 6f 64 65 20 22 c0 c1 5c |((byte-c|ode "..\|
|000029e0| 6e 21 21 87 22 20 5b 6b | 69 6c 6c 2d 62 75 66 66 |n!!." [k|ill-buff|
|000029f0| 65 72 20 66 69 6e 64 2d | 62 75 66 66 65 72 2d 76 |er find-|buffer-v|
|00002a00| 69 73 69 74 69 6e 67 20 | 64 69 61 72 79 2d 66 69 |isiting |diary-fi|
|00002a10| 6c 65 5d 20 33 29 29 20 | 61 70 70 65 6e 64 20 64 |le] 3)) |append d|
|00002a20| 69 61 72 79 2d 65 6e 74 | 72 69 65 73 2d 6c 69 73 |iary-ent|ries-lis|
|00002a30| 74 20 6c 69 73 74 2d 64 | 69 61 72 79 2d 65 6e 74 |t list-d|iary-ent|
|00002a40| 72 69 65 73 20 6f 72 69 | 67 69 6e 61 6c 2d 64 61 |ries ori|ginal-da|
|00002a50| 74 65 20 6e 75 6d 62 65 | 72 20 62 65 65 70 20 6d |te numbe|r beep m|
|00002a60| 65 73 73 61 67 65 20 22 | 43 61 6e 27 74 20 72 65 |essage "|Can't re|
|00002a70| 61 64 20 69 6e 63 6c 75 | 64 65 64 20 64 69 61 72 |ad inclu|ded diar|
|00002a80| 79 20 66 69 6c 65 20 25 | 73 22 20 73 6c 65 65 70 |y file %|s" sleep|
|00002a90| 2d 66 6f 72 20 22 43 61 | 6e 27 74 20 66 69 6e 64 |-for "Ca|n't find|
|00002aa0| 20 69 6e 63 6c 75 64 65 | 64 20 64 69 61 72 79 20 | include|d diary |
|00002ab0| 66 69 6c 65 20 25 73 22 | 5d 20 35 20 28 23 24 20 |file %s"|] 5 (#$ |
|00002ac0| 2e 20 39 37 33 39 29 5d | 29 0a 23 40 37 33 20 44 |. 9739)]|).#@73 D|
|00002ad0| 69 73 70 6c 61 79 20 74 | 68 65 20 64 69 61 72 79 |isplay t|he diary|
|00002ae0| 20 62 75 66 66 65 72 20 | 69 66 20 74 68 65 72 65 | buffer |if there|
|00002af0| 20 61 72 65 20 61 6e 79 | 20 72 65 6c 65 76 61 6e | are any| relevan|
|00002b00| 74 20 65 6e 74 72 69 65 | 73 20 6f 72 20 68 6f 6c |t entrie|s or hol|
|00002b10| 69 64 61 79 73 2e 1f 0a | 28 64 65 66 61 6c 69 61 |idays...|(defalia|
|00002b20| 73 20 27 73 69 6d 70 6c | 65 2d 64 69 61 72 79 2d |s 'simpl|e-diary-|
|00002b30| 64 69 73 70 6c 61 79 20 | 23 5b 6e 69 6c 20 22 08 |display |#[nil ".|
|00002b40| 85 07 00 c1 5c 6e 21 1b | c4 c5 0e 06 0b 83 14 00 |....\n!.|........|
|00002b50| c7 82 15 00 c8 50 c9 ca | 0b cb 23 23 1e 5c 66 0e |.....P..|..##.\f.|
|00002b60| 0d 83 33 00 0e 0d 41 84 | 73 00 0e 0d 40 41 40 c8 |..3...A.|s...@A@.|
|00002b70| 98 83 73 00 0e 5c 66 47 | ce 20 58 83 44 00 cf d0 |..s..\fG|. X.D...|
|00002b80| 0e 5c 66 5c 22 82 92 00 | d1 0e 12 21 71 88 d3 16 |.\f\"...|...!q...|
|00002b90| 14 d5 0e 06 21 88 d6 20 | 88 c9 ca 0b d7 23 63 88 |....!.. |.....#c.|
|00002ba0| 65 62 88 d8 d3 21 88 d9 | 16 14 da 0e 12 21 88 cf |eb...!..|.....!..|
|00002bb0| db 0e 06 5c 22 82 92 00 | d5 dc 0e 06 0b 83 7f 00 |...\"...|........|
|00002bc0| dd 82 80 00 c8 c9 ca 0b | cb 23 52 21 88 da de 0e |........|.#R!....|
|00002bd0| 1f 21 21 88 cf e0 21 2a | 87 22 20 5b 68 6f 6c 69 |.!!...!*|." [holi|
|00002be0| 64 61 79 73 2d 69 6e 2d | 64 69 61 72 79 2d 62 75 |days-in-|diary-bu|
|00002bf0| 66 66 65 72 20 63 68 65 | 63 6b 2d 63 61 6c 65 6e |ffer che|ck-calen|
|00002c00| 64 61 72 2d 68 6f 6c 69 | 64 61 79 73 20 6f 72 69 |dar-holi|days ori|
|00002c10| 67 69 6e 61 6c 2d 64 61 | 74 65 20 68 6f 6c 69 64 |ginal-da|te holid|
|00002c20| 61 79 2d 6c 69 73 74 20 | 66 6f 72 6d 61 74 20 22 |ay-list |format "|
|00002c30| 4e 6f 20 64 69 61 72 79 | 20 65 6e 74 72 69 65 73 |No diary| entries|
|00002c40| 20 66 6f 72 20 25 73 20 | 25 73 22 20 64 61 74 65 | for %s |%s" date|
|00002c50| 2d 73 74 72 69 6e 67 20 | 22 3a 22 20 22 22 20 6d |-string |":" "" m|
|00002c60| 61 70 63 6f 6e 63 61 74 | 20 69 64 65 6e 74 69 74 |apconcat| identit|
|00002c70| 79 20 22 3b 20 22 20 6d | 73 67 20 64 69 61 72 79 |y "; " m|sg diary|
|00002c80| 2d 65 6e 74 72 69 65 73 | 2d 6c 69 73 74 20 66 72 |-entries|-list fr|
|00002c90| 61 6d 65 2d 77 69 64 74 | 68 20 6d 65 73 73 61 67 |ame-widt|h messag|
|00002ca0| 65 20 22 25 73 22 20 67 | 65 74 2d 62 75 66 66 65 |e "%s" g|et-buffe|
|00002cb0| 72 2d 63 72 65 61 74 65 | 20 68 6f 6c 69 64 61 79 |r-create| holiday|
|00002cc0| 2d 62 75 66 66 65 72 20 | 6e 69 6c 20 62 75 66 66 |-buffer |nil buff|
|00002cd0| 65 72 2d 72 65 61 64 2d | 6f 6e 6c 79 20 63 61 6c |er-read-|only cal|
|00002ce0| 65 6e 64 61 72 2d 73 65 | 74 2d 6d 6f 64 65 2d 6c |endar-se|t-mode-l|
|00002cf0| 69 6e 65 20 65 72 61 73 | 65 2d 62 75 66 66 65 72 |ine eras|e-buffer|
|00002d00| 20 22 5c 6e 22 20 73 65 | 74 2d 62 75 66 66 65 72 | "\n" se|t-buffer|
|00002d10| 2d 6d 6f 64 69 66 69 65 | 64 2d 70 20 74 20 64 69 |-modifie|d-p t di|
|00002d20| 73 70 6c 61 79 2d 62 75 | 66 66 65 72 20 22 4e 6f |splay-bu|ffer "No|
|00002d30| 20 64 69 61 72 79 20 65 | 6e 74 72 69 65 73 20 66 | diary e|ntries f|
|00002d40| 6f 72 20 25 73 22 20 22 | 44 69 61 72 79 20 66 6f |or %s" "|Diary fo|
|00002d50| 72 20 22 20 22 3a 20 22 | 20 66 69 6e 64 2d 62 75 |r " ": "| find-bu|
|00002d60| 66 66 65 72 2d 76 69 73 | 69 74 69 6e 67 20 64 2d |ffer-vis|iting d-|
|00002d70| 66 69 6c 65 20 22 50 72 | 65 70 61 72 69 6e 67 20 |file "Pr|eparing |
|00002d80| 64 69 61 72 79 2e 2e 2e | 64 6f 6e 65 22 5d 20 38 |diary...|done"] 8|
|00002d90| 20 28 23 24 20 2e 20 31 | 30 39 35 39 29 5d 29 0a | (#$ . 1|0959)]).|
|00002da0| 23 40 31 34 38 20 50 72 | 65 70 61 72 65 20 61 20 |#@148 Pr|epare a |
|00002db0| 64 69 61 72 79 20 62 75 | 66 66 65 72 20 77 69 74 |diary bu|ffer wit|
|00002dc0| 68 20 72 65 6c 65 76 61 | 6e 74 20 65 6e 74 72 69 |h releva|nt entri|
|00002dd0| 65 73 20 69 6e 20 61 20 | 66 61 6e 63 79 2c 20 6e |es in a |fancy, n|
|00002de0| 6f 6e 65 64 69 74 61 62 | 6c 65 20 66 6f 72 6d 2e |oneditab|le form.|
|00002df0| 0a 54 68 69 73 20 66 75 | 6e 63 74 69 6f 6e 20 69 |.This fu|nction i|
|00002e00| 73 20 70 72 6f 76 69 64 | 65 64 20 66 6f 72 20 6f |s provid|ed for o|
|00002e10| 70 74 69 6f 6e 61 6c 20 | 75 73 65 20 61 73 20 74 |ptional |use as t|
|00002e20| 68 65 20 60 64 69 61 72 | 79 2d 64 69 73 70 6c 61 |he `diar|y-displa|
|00002e30| 79 2d 68 6f 6f 6b 27 2e | 1f 0a 28 64 65 66 61 6c |y-hook'.|..(defal|
|00002e40| 69 61 73 20 27 66 61 6e | 63 79 2d 64 69 61 72 79 |ias 'fan|cy-diary|
|00002e50| 2d 64 69 73 70 6c 61 79 | 20 23 5b 6e 69 6c 20 22 |-display| #[nil "|
|00002e60| 8a c0 c1 5c 6e 21 21 71 | 88 c3 20 1c c5 65 64 c6 |...\n!!q|.. ..ed.|
|00002e70| c7 c8 25 88 c9 16 5c 6e | cb cc 21 88 cd 5c 66 21 |..%...\n|..!..\f!|
|00002e80| 88 2a 0e 0e 83 34 00 0e | 0e 41 84 96 00 0e 0e 40 |.*...4..|.A.....@|
|00002e90| 41 40 cf 98 83 96 00 0e | 10 85 3d 00 d1 0e 12 21 |A@......|..=....!|
|00002ea0| 1e 13 d4 d5 0e 16 0e 13 | 83 4c 00 d7 82 4d 00 cf |........|.L...M..|
|00002eb0| 50 d8 d9 0e 13 da 23 23 | 89 1e 1b 47 dc 20 58 83 |P.....##|...G. X.|
|00002ec0| 67 00 dd de 0e 1b 5c 22 | 82 94 00 df 0e 20 21 71 |g.....\"|..... !q|
|00002ed0| 88 c9 16 21 e2 0e 16 21 | 88 e3 20 88 d8 d9 0e 13 |...!...!|.. .....|
|00002ee0| e4 23 63 88 65 62 88 cd | c9 21 88 c8 16 21 e5 0e |.#c.eb..|.!...!..|
|00002ef0| 20 21 88 dd e6 0e 16 5c | 22 2a 87 8a e7 20 71 88 | !.....\|"*... q.|
|00002f00| c9 16 21 0e 0e c9 e8 89 | e9 89 89 45 1e 2a 1e 2b |..!.....|...E.*.+|
|00002f10| 1e 2c 1e 13 89 1e 2d 83 | d1 01 ee 0e 2a 0e 2d 40 |.,....-.|....*.-@|
|00002f20| 40 5c 22 84 b4 01 0e 2d | 40 40 16 2a 0e 10 83 3c |@\"....-|@@.*...<|
|00002f30| 01 ef 0e 2c f0 0e 2c 0e | 2b 5c 22 0e 2b 45 43 0e |...,..,.|+\".+EC.|
|00002f40| 2a 43 5c 22 83 3c 01 f1 | 0e 2a 21 89 16 2c 83 3c |*C\".<..|.*!..,.<|
|00002f50| 01 f2 0e 2a 21 89 16 2b | 83 3c 01 0e 2b f3 5f 0e |...*!..+|.<..+._.|
|00002f60| 2c 5c 5c f4 5c 5c e8 5c | 5c 89 1e 35 f3 a6 54 16 |,\\.\\.\|\..5..T.|
|00002f70| 2c 0e 35 f3 a5 89 16 2b | 29 83 3c 01 0e 2c 0e 2b |,.5....+|).<..,.+|
|00002f80| 1e 36 1e 37 f8 20 2a 89 | 16 13 83 3c 01 0e 2b f3 |.6.7. *.|...<..+.|
|00002f90| 5f 0e 2c 5c 5c f4 5c 5c | e8 5c 5c 89 1e 35 f3 a6 |_.,\\.\\|.\\..5..|
|00002fa0| 54 16 2c 0e 35 f3 a5 16 | 2b 29 f9 0e 2a 21 1e 16 |T.,.5...|+)..*!..|
|00002fb0| 0e 13 c9 1e 3a 89 1e 3b | 83 6b 01 ee 0e 2a 0e 3b |....:..;|.k...*.;|
|00002fc0| 40 40 5c 22 83 62 01 fc | 0e 3a 0e 3b 40 41 5c 22 |@@\".b..|.:.;@A\"|
|00002fd0| 16 3a 0e 3b 41 89 16 3b | 84 4d 01 0e 3a 2a 1e 3d |.:.;A..;|.M..:*.=|
|00002fe0| 60 65 55 83 7a 01 cf 82 | 7b 01 c7 0e 16 b1 02 88 |`eU.z...|{.......|
|00002ff0| 0e 3d 83 88 01 fe 63 88 | 69 1e 3f e9 1e 40 d8 81 |.=....c.|i.?..@..|
|00003000| 41 00 0e 3d e4 81 42 00 | 0e 3f 81 43 00 5c 22 50 |A..=..B.|.?.C.\"P|
|00003010| 23 63 88 c7 81 42 00 0e | 3f 0e 40 5c 5c 81 44 00 |#c...B..|?.@\\.D.|
|00003020| 5c 22 c7 b1 03 88 2c e9 | 0e 2d 40 41 40 47 57 83 |\"....,.|.-@A@GW.|
|00003030| c8 01 0e 2d 40 41 40 c7 | b1 02 88 0e 2d 41 89 16 |...-@A@.|....-A..|
|00003040| 2d 84 b5 00 2d cd c9 21 | 88 65 62 88 c8 16 21 e5 |-...-..!|.eb...!.|
|00003050| 0e 45 21 88 dd 81 46 00 | 21 29 87 22 20 5b 66 69 |.E!...F.|!)." [fi|
|00003060| 6e 64 2d 62 75 66 66 65 | 72 2d 76 69 73 69 74 69 |nd-buffe|r-visiti|
|00003070| 6e 67 20 73 75 62 73 74 | 69 74 75 74 65 2d 69 6e |ng subst|itute-in|
|00003080| 2d 66 69 6c 65 2d 6e 61 | 6d 65 20 64 69 61 72 79 |-file-na|me diary|
|00003090| 2d 66 69 6c 65 20 62 75 | 66 66 65 72 2d 6d 6f 64 |-file bu|ffer-mod|
|000030a0| 69 66 69 65 64 2d 70 20 | 64 69 61 72 79 2d 6d 6f |ified-p |diary-mo|
|000030b0| 64 69 66 69 65 64 20 73 | 75 62 73 74 2d 63 68 61 |dified s|ubst-cha|
|000030c0| 72 2d 69 6e 2d 72 65 67 | 69 6f 6e 20 31 33 20 31 |r-in-reg|ion 13 1|
|000030d0| 30 20 74 20 6e 69 6c 20 | 73 65 6c 65 63 74 69 76 |0 t nil |selectiv|
|000030e0| 65 2d 64 69 73 70 6c 61 | 79 20 6b 69 6c 6c 2d 6c |e-displa|y kill-l|
|000030f0| 6f 63 61 6c 2d 76 61 72 | 69 61 62 6c 65 20 6d 6f |ocal-var|iable mo|
|00003100| 64 65 2d 6c 69 6e 65 2d | 66 6f 72 6d 61 74 20 73 |de-line-|format s|
|00003110| 65 74 2d 62 75 66 66 65 | 72 2d 6d 6f 64 69 66 69 |et-buffe|r-modifi|
|00003120| 65 64 2d 70 20 64 69 61 | 72 79 2d 65 6e 74 72 69 |ed-p dia|ry-entri|
|00003130| 65 73 2d 6c 69 73 74 20 | 22 22 20 68 6f 6c 69 64 |es-list |"" holid|
|00003140| 61 79 73 2d 69 6e 2d 64 | 69 61 72 79 2d 62 75 66 |ays-in-d|iary-buf|
|00003150| 66 65 72 20 63 68 65 63 | 6b 2d 63 61 6c 65 6e 64 |fer chec|k-calend|
|00003160| 61 72 2d 68 6f 6c 69 64 | 61 79 73 20 6f 72 69 67 |ar-holid|ays orig|
|00003170| 69 6e 61 6c 2d 64 61 74 | 65 20 68 6f 6c 69 64 61 |inal-dat|e holida|
|00003180| 79 2d 6c 69 73 74 20 66 | 6f 72 6d 61 74 20 22 4e |y-list f|ormat "N|
|00003190| 6f 20 64 69 61 72 79 20 | 65 6e 74 72 69 65 73 20 |o diary |entries |
|000031a0| 66 6f 72 20 25 73 20 25 | 73 22 20 64 61 74 65 2d |for %s %|s" date-|
|000031b0| 73 74 72 69 6e 67 20 22 | 3a 22 20 6d 61 70 63 6f |string "|:" mapco|
|000031c0| 6e 63 61 74 20 69 64 65 | 6e 74 69 74 79 20 22 3b |ncat ide|ntity ";|
|000031d0| 20 22 20 6d 73 67 20 66 | 72 61 6d 65 2d 77 69 64 | " msg f|rame-wid|
|000031e0| 74 68 20 6d 65 73 73 61 | 67 65 20 22 25 73 22 20 |th messa|ge "%s" |
|000031f0| 67 65 74 2d 62 75 66 66 | 65 72 2d 63 72 65 61 74 |get-buff|er-creat|
|00003200| 65 20 68 6f 6c 69 64 61 | 79 2d 62 75 66 66 65 72 |e holida|y-buffer|
|00003210| 20 62 75 66 66 65 72 2d | 72 65 61 64 2d 6f 6e 6c | buffer-|read-onl|
|00003220| 79 20 63 61 6c 65 6e 64 | 61 72 2d 73 65 74 2d 6d |y calend|ar-set-m|
|00003230| 6f 64 65 2d 6c 69 6e 65 | 20 65 72 61 73 65 2d 62 |ode-line| erase-b|
|00003240| 75 66 66 65 72 20 22 5c | 6e 22 20 64 69 73 70 6c |uffer "\|n" displ|
|00003250| 61 79 2d 62 75 66 66 65 | 72 20 22 4e 6f 20 64 69 |ay-buffe|r "No di|
|00003260| 61 72 79 20 65 6e 74 72 | 69 65 73 20 66 6f 72 20 |ary entr|ies for |
|00003270| 25 73 22 20 6d 61 6b 65 | 2d 66 61 6e 63 79 2d 64 |%s" make|-fancy-d|
|00003280| 69 61 72 79 2d 62 75 66 | 66 65 72 20 31 20 30 20 |iary-buf|fer 1 0 |
|00003290| 64 61 74 65 20 68 6f 6c | 69 64 61 79 2d 6c 69 73 |date hol|iday-lis|
|000032a0| 74 2d 6c 61 73 74 2d 79 | 65 61 72 20 68 6f 6c 69 |t-last-y|ear holi|
|000032b0| 64 61 79 2d 6c 69 73 74 | 2d 6c 61 73 74 2d 6d 6f |day-list|-last-mo|
|000032c0| 6e 74 68 20 65 6e 74 72 | 79 2d 6c 69 73 74 20 63 |nth entr|y-list c|
|000032d0| 61 6c 65 6e 64 61 72 2d | 64 61 74 65 2d 65 71 75 |alendar-|date-equ|
|000032e0| 61 6c 20 63 61 6c 65 6e | 64 61 72 2d 64 61 74 65 |al calen|dar-date|
|000032f0| 2d 63 6f 6d 70 61 72 65 | 20 63 61 6c 65 6e 64 61 |-compare| calenda|
|00003300| 72 2d 6c 61 73 74 2d 64 | 61 79 2d 6f 66 2d 6d 6f |r-last-d|ay-of-mo|
|00003310| 6e 74 68 20 65 78 74 72 | 61 63 74 2d 63 61 6c 65 |nth extr|act-cale|
|00003320| 6e 64 61 72 2d 6d 6f 6e | 74 68 20 65 78 74 72 61 |ndar-mon|th extra|
|00003330| 63 74 2d 63 61 6c 65 6e | 64 61 72 2d 79 65 61 72 |ct-calen|dar-year|
|00003340| 20 31 32 20 2d 31 20 6d | 61 63 72 6f 2d 79 20 64 | 12 -1 m|acro-y d|
|00003350| 69 73 70 6c 61 79 65 64 | 2d 79 65 61 72 20 64 69 |isplayed|-year di|
|00003360| 73 70 6c 61 79 65 64 2d | 6d 6f 6e 74 68 20 63 61 |splayed-|month ca|
|00003370| 6c 65 6e 64 61 72 2d 68 | 6f 6c 69 64 61 79 2d 6c |lendar-h|oliday-l|
|00003380| 69 73 74 20 63 61 6c 65 | 6e 64 61 72 2d 64 61 74 |ist cale|ndar-dat|
|00003390| 65 2d 73 74 72 69 6e 67 | 20 64 20 68 20 61 70 70 |e-string| d h app|
|000033a0| 65 6e 64 20 64 61 74 65 | 2d 68 6f 6c 69 64 61 79 |end date|-holiday|
|000033b0| 2d 6c 69 73 74 20 22 3a | 20 20 22 20 6c 20 6c 6f |-list ":| " l lo|
|000033c0| 6e 67 65 73 74 20 23 5b | 28 78 29 20 22 08 09 47 |ngest #[|(x) "..G|
|000033d0| 57 83 5c 6e 00 09 47 10 | 09 87 22 20 5b 6c 6f 6e |W.\n..G.|.." [lon|
|000033e0| 67 65 73 74 20 78 5d 20 | 32 5d 20 6d 61 6b 65 2d |gest x] |2] make-|
|000033f0| 73 74 72 69 6e 67 20 33 | 32 20 36 31 20 66 61 6e |string 3|2 61 fan|
|00003400| 63 79 2d 64 69 61 72 79 | 2d 62 75 66 66 65 72 20 |cy-diary|-buffer |
|00003410| 22 50 72 65 70 61 72 69 | 6e 67 20 64 69 61 72 79 |"Prepari|ng diary|
|00003420| 2e 2e 2e 64 6f 6e 65 22 | 5d 20 38 20 28 23 24 20 |...done"|] 8 (#$ |
|00003430| 2e 20 31 31 36 38 36 29 | 5d 29 0a 23 40 35 31 20 |. 11686)|]).#@51 |
|00003440| 43 72 65 61 74 65 20 61 | 6e 64 20 72 65 74 75 72 |Create a|nd retur|
|00003450| 6e 20 74 68 65 20 69 6e | 69 74 69 61 6c 20 66 61 |n the in|itial fa|
|00003460| 6e 63 79 20 64 69 61 72 | 79 20 62 75 66 66 65 72 |ncy diar|y buffer|
|00003470| 2e 1f 0a 28 64 65 66 61 | 6c 69 61 73 20 27 6d 61 |...(defa|lias 'ma|
|00003480| 6b 65 2d 66 61 6e 63 79 | 2d 64 69 61 72 79 2d 62 |ke-fancy|-diary-b|
|00003490| 75 66 66 65 72 20 23 5b | 6e 69 6c 20 22 8a c0 09 |uffer #[|nil "...|
|000034a0| 21 71 88 c2 13 c4 c5 21 | 88 c6 c7 21 88 c8 20 88 |!q.....!|...!.. .|
|000034b0| c9 c2 21 88 ca 13 cb 09 | 21 29 87 22 20 5b 67 65 |..!.....|!)." [ge|
|000034c0| 74 2d 62 75 66 66 65 72 | 2d 63 72 65 61 74 65 20 |t-buffer|-create |
|000034d0| 66 61 6e 63 79 2d 64 69 | 61 72 79 2d 62 75 66 66 |fancy-di|ary-buff|
|000034e0| 65 72 20 6e 69 6c 20 62 | 75 66 66 65 72 2d 72 65 |er nil b|uffer-re|
|000034f0| 61 64 2d 6f 6e 6c 79 20 | 6d 61 6b 65 2d 6c 6f 63 |ad-only |make-loc|
|00003500| 61 6c 2d 76 61 72 69 61 | 62 6c 65 20 6d 6f 64 65 |al-varia|ble mode|
|00003510| 2d 6c 69 6e 65 2d 66 6f | 72 6d 61 74 20 63 61 6c |-line-fo|rmat cal|
|00003520| 65 6e 64 61 72 2d 73 65 | 74 2d 6d 6f 64 65 2d 6c |endar-se|t-mode-l|
|00003530| 69 6e 65 20 22 44 69 61 | 72 79 20 45 6e 74 72 69 |ine "Dia|ry Entri|
|00003540| 65 73 22 20 65 72 61 73 | 65 2d 62 75 66 66 65 72 |es" eras|e-buffer|
|00003550| 20 73 65 74 2d 62 75 66 | 66 65 72 2d 6d 6f 64 69 | set-buf|fer-modi|
|00003560| 66 69 65 64 2d 70 20 74 | 20 67 65 74 2d 62 75 66 |fied-p t| get-buf|
|00003570| 66 65 72 5d 20 32 20 28 | 23 24 20 2e 20 31 33 33 |fer] 2 (|#$ . 133|
|00003580| 37 36 29 5d 29 0a 23 40 | 34 30 32 20 50 72 69 6e |76)]).#@|402 Prin|
|00003590| 74 20 61 20 68 61 72 64 | 20 63 6f 70 79 20 6f 66 |t a hard| copy of|
|000035a0| 20 74 68 65 20 64 69 61 | 72 79 20 64 69 73 70 6c | the dia|ry displ|
|000035b0| 61 79 2e 0a 0a 49 66 20 | 74 68 65 20 73 69 6d 70 |ay...If |the simp|
|000035c0| 6c 65 20 64 69 61 72 79 | 20 64 69 73 70 6c 61 79 |le diary| display|
|000035d0| 20 69 73 20 62 65 69 6e | 67 20 75 73 65 64 2c 20 | is bein|g used, |
|000035e0| 70 72 65 70 61 72 65 20 | 61 20 74 65 6d 70 20 62 |prepare |a temp b|
|000035f0| 75 66 66 65 72 20 77 69 | 74 68 20 74 68 65 0a 76 |uffer wi|th the.v|
|00003600| 69 73 69 62 6c 65 20 6c | 69 6e 65 73 20 6f 66 20 |isible l|ines of |
|00003610| 74 68 65 20 64 69 61 72 | 79 20 62 75 66 66 65 72 |the diar|y buffer|
|00003620| 2c 20 61 64 64 20 61 20 | 68 65 61 64 69 6e 67 20 |, add a |heading |
|00003630| 6c 69 6e 65 20 63 6f 6d | 70 6f 73 65 64 20 66 72 |line com|posed fr|
|00003640| 6f 6d 20 74 68 65 20 6d | 6f 64 65 0a 6c 69 6e 65 |om the m|ode.line|
|00003650| 2c 20 70 72 69 6e 74 20 | 74 68 65 20 74 65 6d 70 |, print |the temp|
|00003660| 20 62 75 66 66 65 72 2c | 20 61 6e 64 20 64 65 73 | buffer,| and des|
|00003670| 74 72 6f 79 20 69 74 2e | 0a 0a 49 66 20 74 68 65 |troy it.|..If the|
|00003680| 20 66 61 6e 63 79 20 64 | 69 61 72 79 20 64 69 73 | fancy d|iary dis|
|00003690| 70 6c 61 79 20 69 73 20 | 62 65 69 6e 67 20 75 73 |play is |being us|
|000036a0| 65 64 2c 20 6a 75 73 74 | 20 70 72 69 6e 74 20 74 |ed, just| print t|
|000036b0| 68 65 20 62 75 66 66 65 | 72 2e 0a 0a 54 68 65 20 |he buffe|r...The |
|000036c0| 68 6f 6f 6b 73 20 67 69 | 76 65 6e 20 62 79 20 74 |hooks gi|ven by t|
|000036d0| 68 65 20 76 61 72 69 61 | 62 6c 65 20 60 70 72 69 |he varia|ble `pri|
|000036e0| 6e 74 2d 64 69 61 72 79 | 2d 65 6e 74 72 69 65 73 |nt-diary|-entries|
|000036f0| 2d 68 6f 6f 6b 27 20 61 | 72 65 20 63 61 6c 6c 65 |-hook' a|re calle|
|00003700| 64 20 74 6f 20 64 6f 0a | 74 68 65 20 61 63 74 75 |d to do.|the actu|
|00003710| 61 6c 20 70 72 69 6e 74 | 69 6e 67 2e 1f 0a 28 64 |al print|ing...(d|
|00003720| 65 66 61 6c 69 61 73 20 | 27 70 72 69 6e 74 2d 64 |efalias |'print-d|
|00003730| 69 61 72 79 2d 65 6e 74 | 72 69 65 73 20 23 5b 6e |iary-ent|ries #[n|
|00003740| 69 6c 20 22 c0 c1 5c 6e | 21 21 83 13 00 8a c1 5c |il "..\n|!!.....\|
|00003750| 6e 21 71 88 c3 c4 21 29 | 87 c5 c6 0e 07 21 21 89 |n!q...!)|.....!!.|
|00003760| 1e 08 83 7b 00 c9 ca 21 | cb 1e 5c 66 1e 0d 8a 0e |...{...!|..\f....|
|00003770| 08 71 88 0e 0e 3b 84 36 | 00 cf 82 43 00 d0 d1 0e |.q...;.6|...C....|
|00003780| 0e 5c 22 88 0e 0e d2 94 | d2 95 4f 16 5c 66 d3 0e |.\".....|..O.\f..|
|00003790| 0d 65 64 23 88 0e 0d 71 | 88 d4 d5 cb d6 23 83 5f |.ed#...q|.....#._|
|000037a0| 00 d7 d8 21 88 82 50 00 | 65 62 88 0e 5c 66 d9 da |...!..P.|eb..\f..|
|000037b0| 0e 5c 66 47 db 5c 22 d9 | b1 04 88 c3 c4 21 88 dc |.\fG.\".|.....!..|
|000037c0| 0e 0d 21 2b 82 7e 00 dd | de 21 29 87 22 20 5b 62 |..!+.~..|.!)." [b|
|000037d0| 75 66 66 65 72 70 20 67 | 65 74 2d 62 75 66 66 65 |ufferp g|et-buffe|
|000037e0| 72 20 66 61 6e 63 79 2d | 64 69 61 72 79 2d 62 75 |r fancy-|diary-bu|
|000037f0| 66 66 65 72 20 72 75 6e | 2d 68 6f 6f 6b 73 20 70 |ffer run|-hooks p|
|00003800| 72 69 6e 74 2d 64 69 61 | 72 79 2d 65 6e 74 72 69 |rint-dia|ry-entri|
|00003810| 65 73 2d 68 6f 6f 6b 20 | 66 69 6e 64 2d 62 75 66 |es-hook |find-buf|
|00003820| 66 65 72 2d 76 69 73 69 | 74 69 6e 67 20 73 75 62 |fer-visi|ting sub|
|00003830| 73 74 69 74 75 74 65 2d | 69 6e 2d 66 69 6c 65 2d |stitute-|in-file-|
|00003840| 6e 61 6d 65 20 64 69 61 | 72 79 2d 66 69 6c 65 20 |name dia|ry-file |
|00003850| 64 69 61 72 79 2d 62 75 | 66 66 65 72 20 67 65 74 |diary-bu|ffer get|
|00003860| 2d 62 75 66 66 65 72 2d | 63 72 65 61 74 65 20 22 |-buffer-|create "|
|00003870| 2a 50 72 69 6e 74 61 62 | 6c 65 20 44 69 61 72 79 |*Printab|le Diary|
|00003880| 20 45 6e 74 72 69 65 73 | 2a 22 20 6e 69 6c 20 68 | Entries|*" nil h|
|00003890| 65 61 64 69 6e 67 20 74 | 65 6d 70 2d 62 75 66 66 |eading t|emp-buff|
|000038a0| 65 72 20 6d 6f 64 65 2d | 6c 69 6e 65 2d 66 6f 72 |er mode-|line-for|
|000038b0| 6d 61 74 20 22 41 6c 6c | 20 44 69 61 72 79 20 45 |mat "All| Diary E|
|000038c0| 6e 74 72 69 65 73 22 20 | 73 74 72 69 6e 67 2d 6d |ntries" |string-m|
|000038d0| 61 74 63 68 20 22 5e 2d | 2a 5c 5c 28 5b 5e 2d 5d |atch "^-|*\\([^-]|
|000038e0| 2e 2a 5b 5e 2d 5d 5c 5c | 29 2d 2a 24 22 20 31 20 |.*[^-]\\|)-*$" 1 |
|000038f0| 63 6f 70 79 2d 74 6f 2d | 62 75 66 66 65 72 20 72 |copy-to-|buffer r|
|00003900| 65 2d 73 65 61 72 63 68 | 2d 66 6f 72 77 61 72 64 |e-search|-forward|
|00003910| 20 22 0d 2e 2a 24 22 20 | 74 20 72 65 70 6c 61 63 | "..*$" |t replac|
|00003920| 65 2d 6d 61 74 63 68 20 | 22 22 20 22 5c 6e 22 20 |e-match |"" "\n" |
|00003930| 6d 61 6b 65 2d 73 74 72 | 69 6e 67 20 36 31 20 6b |make-str|ing 61 k|
|00003940| 69 6c 6c 2d 62 75 66 66 | 65 72 20 65 72 72 6f 72 |ill-buff|er error|
|00003950| 20 22 59 6f 75 20 64 6f | 6e 27 74 20 68 61 76 65 | "You do|n't have|
|00003960| 20 61 20 64 69 61 72 79 | 20 62 75 66 66 65 72 21 | a diary| buffer!|
|00003970| 22 5d 20 36 20 28 23 24 | 20 2e 20 31 33 37 30 38 |"] 6 (#$| . 13708|
|00003980| 29 20 6e 69 6c 5d 29 0a | 23 40 32 31 31 20 53 68 |) nil]).|#@211 Sh|
|00003990| 6f 77 20 61 6c 6c 20 6f | 66 20 74 68 65 20 64 69 |ow all o|f the di|
|000039a0| 61 72 79 20 65 6e 74 72 | 69 65 73 20 69 6e 20 74 |ary entr|ies in t|
|000039b0| 68 65 20 64 69 61 72 79 | 20 66 69 6c 65 2e 0a 54 |he diary| file..T|
|000039c0| 68 69 73 20 66 75 6e 63 | 74 69 6f 6e 20 67 65 74 |his func|tion get|
|000039d0| 73 20 72 69 64 20 6f 66 | 20 74 68 65 20 73 65 6c |s rid of| the sel|
|000039e0| 65 63 74 69 76 65 20 64 | 69 73 70 6c 61 79 20 6f |ective d|isplay o|
|000039f0| 66 20 74 68 65 20 64 69 | 61 72 79 20 66 69 6c 65 |f the di|ary file|
|00003a00| 20 73 6f 20 74 68 61 74 | 0a 61 6c 6c 20 65 6e 74 | so that|.all ent|
|00003a10| 72 69 65 73 2c 20 6e 6f | 74 20 6a 75 73 74 20 73 |ries, no|t just s|
|00003a20| 6f 6d 65 2c 20 61 72 65 | 20 76 69 73 69 62 6c 65 |ome, are| visible|
|00003a30| 2e 20 20 49 66 20 74 68 | 65 72 65 20 69 73 20 6e |. If th|ere is n|
|00003a40| 6f 20 64 69 61 72 79 20 | 62 75 66 66 65 72 2c 20 |o diary |buffer, |
|00003a50| 6f 6e 65 0a 69 73 20 63 | 72 65 61 74 65 64 2e 1f |one.is c|reated..|
|00003a60| 0a 28 64 65 66 61 6c 69 | 61 73 20 27 73 68 6f 77 |.(defali|as 'show|
|00003a70| 2d 61 6c 6c 2d 64 69 61 | 72 79 2d 65 6e 74 72 69 |-all-dia|ry-entri|
|00003a80| 65 73 20 23 5b 6e 69 6c | 20 22 c0 09 21 89 1a 83 |es #[nil| "..!...|
|00003a90| 55 00 c3 5c 6e 21 83 55 | 00 c4 5c 6e 21 83 4f 00 |U..\n!.U|..\n!.O.|
|00003aa0| 8a c5 5c 6e 21 89 1e 06 | 83 23 00 0e 06 82 27 00 |..\n!...|.#....'.|
|00003ab0| c7 5c 6e c8 5c 22 71 88 | c9 ca 20 1e 0b 1e 5c 66 |.\n.\"q.|.. ...\f|
|00003ac0| cd 65 64 ce cf c8 25 88 | c9 16 10 d1 d2 21 88 0e |.ed...%.|.....!..|
|00003ad0| 13 16 12 d4 70 21 88 d5 | 0e 0b 21 2c 82 58 00 d6 |....p!..|..!,.X..|
|00003ae0| d7 21 82 58 00 d6 d8 21 | 29 87 22 20 5b 73 75 62 |.!.X...!|)." [sub|
|00003af0| 73 74 69 74 75 74 65 2d | 69 6e 2d 66 69 6c 65 2d |stitute-|in-file-|
|00003b00| 6e 61 6d 65 20 64 69 61 | 72 79 2d 66 69 6c 65 20 |name dia|ry-file |
|00003b10| 64 2d 66 69 6c 65 20 66 | 69 6c 65 2d 65 78 69 73 |d-file f|ile-exis|
|00003b20| 74 73 2d 70 20 66 69 6c | 65 2d 72 65 61 64 61 62 |ts-p fil|e-readab|
|00003b30| 6c 65 2d 70 20 66 69 6e | 64 2d 62 75 66 66 65 72 |le-p fin|d-buffer|
|00003b40| 2d 76 69 73 69 74 69 6e | 67 20 64 69 61 72 79 2d |-visitin|g diary-|
|00003b50| 62 75 66 66 65 72 20 66 | 69 6e 64 2d 66 69 6c 65 |buffer f|ind-file|
|00003b60| 2d 6e 6f 73 65 6c 65 63 | 74 20 74 20 6e 69 6c 20 |-noselec|t t nil |
|00003b70| 62 75 66 66 65 72 2d 6d | 6f 64 69 66 69 65 64 2d |buffer-m|odified-|
|00003b80| 70 20 64 69 61 72 79 2d | 6d 6f 64 69 66 69 65 64 |p diary-|modified|
|00003b90| 20 62 75 66 66 65 72 2d | 72 65 61 64 2d 6f 6e 6c | buffer-|read-onl|
|00003ba0| 79 20 73 75 62 73 74 2d | 63 68 61 72 2d 69 6e 2d |y subst-|char-in-|
|00003bb0| 72 65 67 69 6f 6e 20 31 | 33 20 31 30 20 73 65 6c |region 1|3 10 sel|
|00003bc0| 65 63 74 69 76 65 2d 64 | 69 73 70 6c 61 79 20 6d |ective-d|isplay m|
|00003bd0| 61 6b 65 2d 6c 6f 63 61 | 6c 2d 76 61 72 69 61 62 |ake-loca|l-variab|
|00003be0| 6c 65 20 6d 6f 64 65 2d | 6c 69 6e 65 2d 66 6f 72 |le mode-|line-for|
|00003bf0| 6d 61 74 20 64 65 66 61 | 75 6c 74 2d 6d 6f 64 65 |mat defa|ult-mode|
|00003c00| 2d 6c 69 6e 65 2d 66 6f | 72 6d 61 74 20 64 69 73 |-line-fo|rmat dis|
|00003c10| 70 6c 61 79 2d 62 75 66 | 66 65 72 20 73 65 74 2d |play-buf|fer set-|
|00003c20| 62 75 66 66 65 72 2d 6d | 6f 64 69 66 69 65 64 2d |buffer-m|odified-|
|00003c30| 70 20 65 72 72 6f 72 20 | 22 59 6f 75 72 20 64 69 |p error |"Your di|
|00003c40| 61 72 79 20 66 69 6c 65 | 20 69 73 20 6e 6f 74 20 |ary file| is not |
|00003c50| 72 65 61 64 61 62 6c 65 | 21 22 20 22 59 6f 75 20 |readable|!" "You |
|00003c60| 64 6f 6e 27 74 20 68 61 | 76 65 20 61 20 64 69 61 |don't ha|ve a dia|
|00003c70| 72 79 20 66 69 6c 65 21 | 22 5d 20 37 20 28 23 24 |ry file!|"] 7 (#$|
|00003c80| 20 2e 20 31 34 37 33 34 | 29 20 6e 69 6c 5d 29 0a | . 14734|) nil]).|
|00003c90| 23 40 32 39 34 20 43 6f | 6e 76 65 72 74 20 61 6e |#@294 Co|nvert an|
|00003ca0| 20 53 54 52 49 4e 47 2d | 41 52 52 41 59 2c 20 61 | STRING-|ARRAY, a|
|00003cb0| 6e 20 61 72 72 61 79 20 | 6f 66 20 73 74 72 69 6e |n array |of strin|
|00003cc0| 67 73 20 74 6f 20 61 20 | 70 61 74 74 65 72 6e 2e |gs to a |pattern.|
|00003cd0| 0a 54 68 65 20 70 61 74 | 74 65 72 6e 20 77 69 6c |.The pat|tern wil|
|00003ce0| 6c 20 6d 61 74 63 68 20 | 61 6e 79 20 6f 66 20 74 |l match |any of t|
|00003cf0| 68 65 20 73 74 72 69 6e | 67 73 2c 20 65 69 74 68 |he strin|gs, eith|
|00003d00| 65 72 20 65 6e 74 69 72 | 65 6c 79 20 6f 72 20 61 |er entir|ely or a|
|00003d10| 62 62 72 65 76 69 61 74 | 65 64 0a 74 6f 20 74 68 |bbreviat|ed.to th|
|00003d20| 72 65 65 20 63 68 61 72 | 61 63 74 65 72 73 2e 20 |ree char|acters. |
|00003d30| 20 41 6e 20 61 62 62 72 | 65 76 69 61 74 65 64 20 | An abbr|eviated |
|00003d40| 66 6f 72 6d 20 77 69 6c | 6c 20 6d 61 74 63 68 20 |form wil|l match |
|00003d50| 77 69 74 68 20 6f 72 20 | 77 69 74 68 6f 75 74 20 |with or |without |
|00003d60| 61 20 70 65 72 69 6f 64 | 3b 0a 49 66 20 74 68 65 |a period|;.If the|
|00003d70| 20 6f 70 74 69 6f 6e 61 | 6c 20 46 55 4c 4c 4e 41 | optiona|l FULLNA|
|00003d80| 4d 45 20 69 73 20 74 2c | 20 61 62 62 72 65 76 69 |ME is t,| abbrevi|
|00003d90| 61 74 69 6f 6e 73 20 77 | 69 6c 6c 20 6e 6f 74 20 |ations w|ill not |
|00003da0| 6d 61 74 63 68 2c 20 6a | 75 73 74 20 74 68 65 20 |match, j|ust the |
|00003db0| 66 75 6c 6c 0a 6e 61 6d | 65 2e 1f 0a 28 64 65 66 |full.nam|e...(def|
|00003dc0| 61 6c 69 61 73 20 27 64 | 69 61 72 79 2d 6e 61 6d |alias 'd|iary-nam|
|00003dd0| 65 2d 70 61 74 74 65 72 | 6e 20 23 5b 28 73 74 72 |e-patter|n #[(str|
|00003de0| 69 6e 67 2d 61 72 72 61 | 79 20 26 6f 70 74 69 6f |ing-arra|y &optio|
|00003df0| 6e 61 6c 20 66 75 6c 6c | 6e 61 6d 65 29 20 22 c0 |nal full|name) ".|
|00003e00| 19 c2 1b 5c 66 47 53 0b | 54 89 13 59 83 35 00 09 |...\fGS.|T..Y.5..|
|00003e10| 89 c0 98 83 1a 00 c0 82 | 1b 00 c5 5c 66 0b 48 0e |........|...\f.H.|
|00003e20| 06 83 27 00 c0 82 30 00 | c5 5c 66 0b 48 c7 c8 4f |..'...0.|.\f.H..O|
|00003e30| c9 51 52 11 82 04 00 29 | 09 29 87 22 20 5b 22 22 |.QR....)|.)." [""|
|00003e40| 20 70 61 74 74 65 72 6e | 20 2d 31 20 69 20 73 74 | pattern| -1 i st|
|00003e50| 72 69 6e 67 2d 61 72 72 | 61 79 20 22 5c 5c 7c 22 |ring-arr|ay "\\|"|
|00003e60| 20 66 75 6c 6c 6e 61 6d | 65 20 30 20 33 20 22 2e | fullnam|e 0 3 ".|
|00003e70| 3f 22 5d 20 37 20 28 23 | 24 20 2e 20 31 35 35 31 |?"] 7 (#|$ . 1551|
|00003e80| 30 29 5d 29 0a 23 40 35 | 38 20 54 72 75 65 20 64 |0)]).#@5|8 True d|
|00003e90| 75 72 69 6e 67 20 74 68 | 65 20 6d 61 72 6b 69 6e |uring th|e markin|
|00003ea0| 67 20 6f 66 20 64 69 61 | 72 79 20 65 6e 74 72 69 |g of dia|ry entri|
|00003eb0| 65 73 2c 20 6e 69 6c 20 | 6f 74 68 65 72 77 69 73 |es, nil |otherwis|
|00003ec0| 65 2e 1f 0a 28 64 65 66 | 76 61 72 20 6d 61 72 6b |e...(def|var mark|
|00003ed0| 69 6e 67 2d 64 69 61 72 | 79 2d 65 6e 74 72 69 65 |ing-diar|y-entrie|
|00003ee0| 73 20 6e 69 6c 20 28 23 | 24 20 2e 20 31 36 30 31 |s nil (#|$ . 1601|
|00003ef0| 30 29 29 0a 23 40 37 32 | 20 54 72 75 65 20 64 75 |0)).#@72| True du|
|00003f00| 72 69 6e 67 20 74 68 65 | 20 6d 61 72 6b 69 6e 67 |ring the| marking|
|00003f10| 20 6f 66 20 64 69 61 72 | 79 20 65 6e 74 72 69 65 | of diar|y entrie|
|00003f20| 73 2c 20 69 66 20 63 75 | 72 72 65 6e 74 20 65 6e |s, if cu|rrent en|
|00003f30| 74 72 79 20 69 73 20 6d | 61 72 6b 69 6e 67 2e 1f |try is m|arking..|
|00003f40| 0a 28 64 65 66 76 61 72 | 20 6d 61 72 6b 69 6e 67 |.(defvar| marking|
|00003f50| 2d 64 69 61 72 79 2d 65 | 6e 74 72 79 20 6e 69 6c |-diary-e|ntry nil|
|00003f60| 20 28 23 24 20 2e 20 31 | 36 31 32 31 29 29 0a 23 | (#$ . 1|6121)).#|
|00003f70| 40 32 34 33 20 4d 61 72 | 6b 20 64 61 79 73 20 69 |@243 Mar|k days i|
|00003f80| 6e 20 74 68 65 20 63 61 | 6c 65 6e 64 61 72 20 77 |n the ca|lendar w|
|00003f90| 69 6e 64 6f 77 20 74 68 | 61 74 20 68 61 76 65 20 |indow th|at have |
|00003fa0| 64 69 61 72 79 20 65 6e | 74 72 69 65 73 2e 0a 45 |diary en|tries..E|
|00003fb0| 61 63 68 20 65 6e 74 72 | 79 20 69 6e 20 74 68 65 |ach entr|y in the|
|00003fc0| 20 64 69 61 72 79 20 66 | 69 6c 65 20 76 69 73 69 | diary f|ile visi|
|00003fd0| 62 6c 65 20 69 6e 20 74 | 68 65 20 63 61 6c 65 6e |ble in t|he calen|
|00003fe0| 64 61 72 20 77 69 6e 64 | 6f 77 20 69 73 20 6d 61 |dar wind|ow is ma|
|00003ff0| 72 6b 65 64 2e 0a 41 66 | 74 65 72 20 74 68 65 20 |rked..Af|ter the |
|00004000| 65 6e 74 72 69 65 73 20 | 61 72 65 20 6d 61 72 6b |entries |are mark|
|00004010| 65 64 2c 20 74 68 65 20 | 68 6f 6f 6b 73 20 60 6e |ed, the |hooks `n|
|00004020| 6f 6e 67 72 65 67 6f 72 | 69 61 6e 2d 64 69 61 72 |ongregor|ian-diar|
|00004030| 79 2d 6d 61 72 6b 69 6e | 67 2d 68 6f 6f 6b 27 20 |y-markin|g-hook' |
|00004040| 61 6e 64 0a 60 6d 61 72 | 6b 2d 64 69 61 72 79 2d |and.`mar|k-diary-|
|00004050| 65 6e 74 72 69 65 73 2d | 68 6f 6f 6b 27 20 61 72 |entries-|hook' ar|
|00004060| 65 20 72 75 6e 2e 1f 0a | 28 64 65 66 61 6c 69 61 |e run...|(defalia|
|00004070| 73 20 27 6d 61 72 6b 2d | 64 69 61 72 79 2d 65 6e |s 'mark-|diary-en|
|00004080| 74 72 69 65 73 20 23 5b | 6e 69 6c 20 22 c0 11 c2 |tries #[|nil "...|
|00004090| 0b 21 c0 1c 89 1d 83 45 | 02 c6 0d 21 83 45 02 c7 |.!.....E|...!.E..|
|000040a0| 0d 21 83 3b 02 8a c8 c9 | 21 88 ca 0d c0 5c 22 71 |.!.;....|!....\"q|
|000040b0| 88 0e 0b cc 1e 0d 1e 0e | cf 20 16 0d d0 0e 11 21 |........|. .....!|
|000040c0| 88 0e 0e 83 1d 02 0e 0e | 40 40 d2 9a 83 48 00 0e |........|@@...H..|
|000040d0| 0e 40 41 82 4b 00 0e 0e | 40 1e 13 d4 0e 15 21 1e |.@A.K...|@.....!.|
|000040e0| 16 d4 0e 17 21 d8 50 1e | 19 da 1e 1b da 1e 1c da |....!.P.|........|
|000040f0| 1e 1d 0e 13 47 89 1e 1e | d6 0e 13 3e 47 5a 1e 1f |....G...|...>GZ..|
|00004100| 0e 1e 0e 1f 55 3f 85 7f | 00 0e 1f e0 5c 5c 1e 1f |....U?..|....\\..|
|00004110| 0e 1e d9 0e 13 3e 47 5a | 1e 21 0e 1e 0e 21 55 3f |.....>GZ|.!...!U?|
|00004120| 85 98 00 0e 21 e0 5c 5c | 1e 21 0e 1e dc 0e 13 3e |....!.\\|.!.....>|
|00004130| 47 5a 1e 5c 22 0e 1e 0e | 5c 22 55 3f 85 b1 00 0e |GZ.\"...|\"U?....|
|00004140| 5c 22 e0 5c 5c 1e 5c 22 | 0e 1e db 0e 13 3e 47 5a |\".\\.\"|.....>GZ|
|00004150| 1e 23 0e 1e 0e 23 55 3f | 85 ca 00 0e 23 e0 5c 5c |.#...#U?|....#.\\|
|00004160| 1e 23 0e 1e dd 0e 13 3e | 47 5a 1e 24 0e 1e 0e 24 |.#.....>|GZ.$...$|
|00004170| 55 3f 85 e3 00 0e 24 e0 | 5c 5c 1e 24 e5 e6 e7 0e |U?....$.|\\.$....|
|00004180| 13 e8 23 e9 51 1e 2a c0 | 1e 2b 65 62 88 ec 0e 2a |..#.Q.*.|.+eb...*|
|00004190| cc c0 23 83 13 02 0e 1f | 85 5c 66 01 ed 0e 1f 94 |..#.....|.\f.....|
|000041a0| 0e 1f 95 5c 22 1e 2e 0e | 21 85 1b 01 ed 0e 21 94 |...\"...|!.....!.|
|000041b0| 0e 21 95 5c 22 1e 2f f0 | 0e 23 83 2e 01 ed 0e 23 |.!.\"./.|.#.....#|
|000041c0| 94 0e 23 95 5c 22 82 2f | 01 f1 21 1e 32 f0 0e 5c |..#.\"./|..!.2..\|
|000041d0| 22 83 43 01 ed 0e 5c 22 | 94 0e 5c 22 95 5c 22 82 |".C...\"|..\".\".|
|000041e0| 44 01 f1 21 1e 33 0e 24 | 85 54 01 ed 0e 24 94 0e |D..!.3.$|.T...$..|
|000041f0| 24 95 5c 22 89 1e 34 84 | 5e 01 f5 82 ae 01 0e 34 |$.\"..4.|^......4|
|00004200| 47 e0 55 83 aa 01 0e 36 | 83 aa 01 f7 20 89 1e 38 |G.U....6|.... ..8|
|00004210| 41 41 40 29 1e 39 f0 0e | 34 21 0e 39 fa a5 fa 5f |AA@).9..|4!.9..._|
|00004220| 5c 5c 89 1e 3b 0e 39 5a | fc 56 83 93 01 0e 3b fa |\\..;.9Z|.V....;.|
|00004230| 5a 82 a6 01 0e 39 0e 3b | 5a fc 56 83 a4 01 0e 3b |Z....9.;|Z.V....;|
|00004240| fa 5c 5c 82 a6 01 0e 3b | 2a 82 ae 01 f0 0e 34 21 |.\\....;|*.....4!|
|00004250| 1e 3d 0e 2e 83 d3 01 fe | ff 81 40 00 0e 2e f5 81 |.=......|..@.....|
|00004260| 41 00 4f 21 81 42 00 0e | 15 f5 81 43 00 23 5c 22 |A.O!.B..|...C.#\"|
|00004270| 41 21 88 82 0e 02 0e 2f | 83 03 02 0e 2f 81 44 00 |A!...../|..../.D.|
|00004280| 98 83 e7 01 f5 16 32 82 | 03 02 ff 81 40 00 0e 2f |......2.|....@../|
|00004290| f5 81 41 00 4f 21 81 42 | 00 0e 17 81 45 00 81 46 |..A.O!.B|....E..F|
|000042a0| 00 23 5c 22 41 16 32 81 | 47 00 0e 32 0e 33 0e 3d |.#\"A.2.|G..2.3.=|
|000042b0| 23 88 2e 06 82 f6 00 0e | 0e 41 16 0e 2e 13 82 33 |#.......|.A.....3|
|000042c0| 00 81 48 00 20 88 81 49 | 00 81 4a 00 81 4b 00 5c |..H. ..I|..J..K.\|
|000042d0| 22 88 d0 0e 0d 21 88 c8 | 81 4c 00 21 2b 82 4c 02 |"....!..|.L.!+.L.|
|000042e0| 81 4d 00 81 4e 00 21 82 | 4c 02 81 4d 00 81 4f 00 |.M..N.!.|L..M..O.|
|000042f0| 21 2a 87 22 20 5b 74 20 | 6d 61 72 6b 2d 64 69 61 |!*." [t |mark-dia|
|00004300| 72 79 2d 65 6e 74 72 69 | 65 73 2d 69 6e 2d 63 61 |ry-entri|es-in-ca|
|00004310| 6c 65 6e 64 61 72 20 73 | 75 62 73 74 69 74 75 74 |lendar s|ubstitut|
|00004320| 65 2d 69 6e 2d 66 69 6c | 65 2d 6e 61 6d 65 20 64 |e-in-fil|e-name d|
|00004330| 69 61 72 79 2d 66 69 6c | 65 20 6d 61 72 6b 69 6e |iary-fil|e markin|
|00004340| 67 2d 64 69 61 72 79 2d | 65 6e 74 72 69 65 73 20 |g-diary-|entries |
|00004350| 64 2d 66 69 6c 65 20 66 | 69 6c 65 2d 65 78 69 73 |d-file f|ile-exis|
|00004360| 74 73 2d 70 20 66 69 6c | 65 2d 72 65 61 64 61 62 |ts-p fil|e-readab|
|00004370| 6c 65 2d 70 20 6d 65 73 | 73 61 67 65 20 22 4d 61 |le-p mes|sage "Ma|
|00004380| 72 6b 69 6e 67 20 64 69 | 61 72 79 20 65 6e 74 72 |rking di|ary entr|
|00004390| 69 65 73 2e 2e 2e 22 20 | 66 69 6e 64 2d 66 69 6c |ies..." |find-fil|
|000043a0| 65 2d 6e 6f 73 65 6c 65 | 63 74 20 64 69 61 72 79 |e-nosele|ct diary|
|000043b0| 2d 64 61 74 65 2d 66 6f | 72 6d 73 20 6e 69 6c 20 |-date-fo|rms nil |
|000043c0| 6f 6c 64 2d 64 69 61 72 | 79 2d 73 79 6e 74 61 78 |old-diar|y-syntax|
|000043d0| 2d 74 61 62 6c 65 20 64 | 20 73 79 6e 74 61 78 2d |-table d| syntax-|
|000043e0| 74 61 62 6c 65 20 73 65 | 74 2d 73 79 6e 74 61 78 |table se|t-syntax|
|000043f0| 2d 74 61 62 6c 65 20 64 | 69 61 72 79 2d 73 79 6e |-table d|iary-syn|
|00004400| 74 61 78 2d 74 61 62 6c | 65 20 62 61 63 6b 75 70 |tax-tabl|e backup|
|00004410| 20 64 61 74 65 2d 66 6f | 72 6d 20 64 69 61 72 79 | date-fo|rm diary|
|00004420| 2d 6e 61 6d 65 2d 70 61 | 74 74 65 72 6e 20 63 61 |-name-pa|ttern ca|
|00004430| 6c 65 6e 64 61 72 2d 64 | 61 79 2d 6e 61 6d 65 2d |lendar-d|ay-name-|
|00004440| 61 72 72 61 79 20 64 61 | 79 6e 61 6d 65 20 63 61 |array da|yname ca|
|00004450| 6c 65 6e 64 61 72 2d 6d | 6f 6e 74 68 2d 6e 61 6d |lendar-m|onth-nam|
|00004460| 65 2d 61 72 72 61 79 20 | 22 5c 5c 7c 5c 5c 2a 22 |e-array |"\\|\\*"|
|00004470| 20 6d 6f 6e 74 68 6e 61 | 6d 65 20 22 5b 30 2d 39 | monthna|me "[0-9|
|00004480| 5d 2b 5c 5c 7c 5c 5c 2a | 22 20 6d 6f 6e 74 68 20 |]+\\|\\*|" month |
|00004490| 64 61 79 20 79 65 61 72 | 20 6c 20 64 2d 6e 61 6d |day year| l d-nam|
|000044a0| 65 2d 70 6f 73 20 32 20 | 6d 2d 6e 61 6d 65 2d 70 |e-pos 2 |m-name-p|
|000044b0| 6f 73 20 64 2d 70 6f 73 | 20 6d 2d 70 6f 73 20 79 |os d-pos| m-pos y|
|000044c0| 2d 70 6f 73 20 22 5c 5c | 28 5c 5c 60 5c 5c 7c 0d |-pos "\\|(\\`\\|.|
|000044d0| 5c 5c 7c 5c 6e 5c 5c 29 | 5c 5c 28 22 20 6d 61 70 |\\|\n\\)|\\(" map|
|000044e0| 63 6f 6e 63 61 74 20 65 | 76 61 6c 20 22 5c 5c 29 |concat e|val "\\)|
|000044f0| 5c 5c 28 22 20 22 5c 5c | 29 22 20 72 65 67 65 78 |\\(" "\\|)" regex|
|00004500| 70 20 63 61 73 65 2d 66 | 6f 6c 64 2d 73 65 61 72 |p case-f|old-sear|
|00004510| 63 68 20 72 65 2d 73 65 | 61 72 63 68 2d 66 6f 72 |ch re-se|arch-for|
|00004520| 77 61 72 64 20 62 75 66 | 66 65 72 2d 73 75 62 73 |ward buf|fer-subs|
|00004530| 74 72 69 6e 67 2d 6e 6f | 2d 70 72 6f 70 65 72 74 |tring-no|-propert|
|00004540| 69 65 73 20 64 64 2d 6e | 61 6d 65 20 6d 6d 2d 6e |ies dd-n|ame mm-n|
|00004550| 61 6d 65 20 73 74 72 69 | 6e 67 2d 74 6f 2d 69 6e |ame stri|ng-to-in|
|00004560| 74 20 22 22 20 6d 6d 20 | 64 64 20 79 2d 73 74 72 |t "" mm |dd y-str|
|00004570| 20 30 20 61 62 62 72 65 | 76 69 61 74 65 64 2d 63 | 0 abbre|viated-c|
|00004580| 61 6c 65 6e 64 61 72 2d | 79 65 61 72 20 63 61 6c |alendar-|year cal|
|00004590| 65 6e 64 61 72 2d 63 75 | 72 72 65 6e 74 2d 64 61 |endar-cu|rrent-da|
|000045a0| 74 65 20 64 61 74 65 20 | 63 75 72 72 65 6e 74 2d |te date |current-|
|000045b0| 79 20 31 30 30 20 79 20 | 35 30 20 79 79 20 6d 61 |y 100 y |50 yy ma|
|000045c0| 72 6b 2d 63 61 6c 65 6e | 64 61 72 2d 64 61 79 73 |rk-calen|dar-days|
|000045d0| 2d 6e 61 6d 65 64 20 61 | 73 73 6f 63 20 63 61 70 |-named a|ssoc cap|
|000045e0| 69 74 61 6c 69 7a 65 20 | 33 20 63 61 6c 65 6e 64 |italize |3 calend|
|000045f0| 61 72 2d 6d 61 6b 65 2d | 61 6c 69 73 74 20 28 6c |ar-make-|alist (l|
|00004600| 61 6d 62 64 61 20 28 78 | 29 20 28 73 75 62 73 74 |ambda (x|) (subst|
|00004610| 72 69 6e 67 20 78 20 30 | 20 33 29 29 20 22 2a 22 |ring x 0| 3)) "*"|
|00004620| 20 31 20 28 6c 61 6d 62 | 64 61 20 28 78 29 20 28 | 1 (lamb|da (x) (|
|00004630| 73 75 62 73 74 72 69 6e | 67 20 78 20 30 20 33 29 |substrin|g x 0 3)|
|00004640| 29 20 6d 61 72 6b 2d 63 | 61 6c 65 6e 64 61 72 2d |) mark-c|alendar-|
|00004650| 64 61 74 65 2d 70 61 74 | 74 65 72 6e 20 6d 61 72 |date-pat|tern mar|
|00004660| 6b 2d 73 65 78 70 2d 64 | 69 61 72 79 2d 65 6e 74 |k-sexp-d|iary-ent|
|00004670| 72 69 65 73 20 72 75 6e | 2d 68 6f 6f 6b 73 20 6e |ries run|-hooks n|
|00004680| 6f 6e 67 72 65 67 6f 72 | 69 61 6e 2d 64 69 61 72 |ongregor|ian-diar|
|00004690| 79 2d 6d 61 72 6b 69 6e | 67 2d 68 6f 6f 6b 20 6d |y-markin|g-hook m|
|000046a0| 61 72 6b 2d 64 69 61 72 | 79 2d 65 6e 74 72 69 65 |ark-diar|y-entrie|
|000046b0| 73 2d 68 6f 6f 6b 20 22 | 4d 61 72 6b 69 6e 67 20 |s-hook "|Marking |
|000046c0| 64 69 61 72 79 20 65 6e | 74 72 69 65 73 2e 2e 2e |diary en|tries...|
|000046d0| 64 6f 6e 65 22 20 65 72 | 72 6f 72 20 22 59 6f 75 |done" er|ror "You|
|000046e0| 72 20 64 69 61 72 79 20 | 66 69 6c 65 20 69 73 20 |r diary |file is |
|000046f0| 6e 6f 74 20 72 65 61 64 | 61 62 6c 65 21 22 20 22 |not read|able!" "|
|00004700| 59 6f 75 20 64 6f 6e 27 | 74 20 68 61 76 65 20 61 |You don'|t have a|
|00004710| 20 64 69 61 72 79 20 66 | 69 6c 65 21 22 5d 20 38 | diary f|ile!"] 8|
|00004720| 20 28 23 24 20 2e 20 31 | 36 32 34 35 29 20 6e 69 | (#$ . 1|6245) ni|
|00004730| 6c 5d 29 0a 23 40 32 32 | 32 20 4d 61 72 6b 20 64 |l]).#@22|2 Mark d|
|00004740| 61 79 73 20 69 6e 20 74 | 68 65 20 63 61 6c 65 6e |ays in t|he calen|
|00004750| 64 61 72 20 77 69 6e 64 | 6f 77 20 74 68 61 74 20 |dar wind|ow that |
|00004760| 68 61 76 65 20 73 65 78 | 70 20 64 69 61 72 79 20 |have sex|p diary |
|00004770| 65 6e 74 72 69 65 73 2e | 0a 45 61 63 68 20 65 6e |entries.|.Each en|
|00004780| 74 72 79 20 69 6e 20 74 | 68 65 20 64 69 61 72 79 |try in t|he diary|
|00004790| 20 66 69 6c 65 20 28 6f | 72 20 69 6e 63 6c 75 64 | file (o|r includ|
|000047a0| 65 64 20 66 69 6c 65 73 | 29 20 76 69 73 69 62 6c |ed files|) visibl|
|000047b0| 65 20 69 6e 20 74 68 65 | 20 63 61 6c 65 6e 64 61 |e in the| calenda|
|000047c0| 72 20 77 69 6e 64 6f 77 | 0a 69 73 20 6d 61 72 6b |r window|.is mark|
|000047d0| 65 64 2e 20 20 53 65 65 | 20 74 68 65 20 64 6f 63 |ed. See| the doc|
|000047e0| 75 6d 65 6e 74 61 74 69 | 6f 6e 20 66 6f 72 20 74 |umentati|on for t|
|000047f0| 68 65 20 66 75 6e 63 74 | 69 6f 6e 20 60 6c 69 73 |he funct|ion `lis|
|00004800| 74 2d 73 65 78 70 2d 64 | 69 61 72 79 2d 65 6e 74 |t-sexp-d|iary-ent|
|00004810| 72 69 65 73 27 2e 1f 0a | 28 64 65 66 61 6c 69 61 |ries'...|(defalia|
|00004820| 73 20 27 6d 61 72 6b 2d | 73 65 78 70 2d 64 69 61 |s 'mark-|sexp-dia|
|00004830| 72 79 2d 65 6e 74 72 69 | 65 73 20 23 5b 6e 69 6c |ry-entri|es #[nil|
|00004840| 20 22 c0 09 21 1a c3 c0 | 5c 6e 21 c4 c0 0d 21 c0 | "..!...|\n!...!.|
|00004850| 5c 6e 21 c6 b0 06 1e 07 | c8 1e 09 c8 1e 5c 6e c8 |\n!.....|.....\n.|
|00004860| 1e 0b c8 1e 5c 66 8a 0e | 0d 71 88 0e 0e 16 09 0e |....\f..|.q......|
|00004870| 0f 16 5c 6e 29 0e 5c 6e | d0 5f 0e 09 5c 5c d1 5c |..\n).\n|._..\\.\|
|00004880| 5c 89 1e 12 d0 a6 54 16 | 09 0e 12 d0 a5 16 5c 6e |\.....T.|......\n|
|00004890| 29 0e 09 d3 0e 5c 6e 45 | 89 1e 14 89 1e 14 41 41 |)....\nE|......AA|
|000048a0| 40 29 53 1e 15 0e 14 89 | 1e 14 89 1e 14 40 29 1e |@)S.....|.....@).|
|000048b0| 16 0e 14 89 1e 14 41 40 | 29 1e 17 0e 14 89 1e 14 |......A@|).......|
|000048c0| 41 41 40 29 1e 18 0e 17 | 0e 16 53 d9 5f 5c 5c 1e |AA@)....|..S._\\.|
|000048d0| 1a 0e 16 db 56 83 bd 00 | 0e 1a 0e 16 dc 5f dd 5c |....V...|....._.\|
|000048e0| 5c de a5 5a 16 1a 0e 18 | 89 1e 18 dc a6 df 55 85 |\..Z....|......U.|
|000048f0| b4 00 0e 18 e0 a6 df 55 | 3f 86 b4 00 0e 18 e1 a6 |.......U|?.......|
|00004900| df 55 29 83 bd 00 0e 1a | 54 16 1a 0e 1a 2d 0e 15 |.U).....|T....-..|
|00004910| e2 5f 5c 5c 0e 15 dc a5 | 5c 5c 0e 15 e0 a5 5b 5c |._\\....|\\....[\|
|00004920| 5c 0e 15 e1 a5 5c 5c 2a | 16 0b 0e 5c 6e d0 5f 0e |\....\\*|...\n._.|
|00004930| 09 5c 5c d3 5c 5c 89 1e | 12 d0 a6 54 16 09 0e 12 |.\\.\\..|...T....|
|00004940| d0 a5 16 5c 6e 29 0e 09 | 89 0e 5c 6e 1e 18 89 1e |...\n)..|..\n....|
|00004950| 16 db 55 83 23 01 0e 18 | 89 1e 18 dc a6 df 55 85 |..U.#...|......U.|
|00004960| 1b 01 0e 18 e0 a6 df 55 | 3f 86 1b 01 0e 18 e1 a6 |.......U|?.......|
|00004970| df 55 29 83 23 01 e3 82 | 28 01 e4 0e 16 53 48 2a |.U).#...|(....SH*|
|00004980| 0e 5c 6e 45 89 1e 14 89 | 1e 14 41 41 40 29 53 1e |.\nE....|..AA@)S.|
|00004990| 15 0e 14 89 1e 14 89 1e | 14 40 29 1e 16 0e 14 89 |........|.@).....|
|000049a0| 1e 14 41 40 29 1e 17 0e | 14 89 1e 14 41 41 40 29 |..A@)...|....AA@)|
|000049b0| 1e 18 0e 17 0e 16 53 d9 | 5f 5c 5c 1e 1a 0e 16 db |......S.|_\\.....|
|000049c0| 56 83 9d 01 0e 1a 0e 16 | dc 5f dd 5c 5c de a5 5a |V.......|._.\\..Z|
|000049d0| 16 1a 0e 18 89 1e 18 dc | a6 df 55 85 94 01 0e 18 |........|..U.....|
|000049e0| e0 a6 df 55 3f 86 94 01 | 0e 18 e1 a6 df 55 29 83 |...U?...|.....U).|
|000049f0| 9d 01 0e 1a 54 16 1a 0e | 1a 2d 0e 15 e2 5f 5c 5c |....T...|.-..._\\|
|00004a00| 0e 15 dc a5 5c 5c 0e 15 | e0 a5 5b 5c 5c 0e 15 e1 |....\\..|..[\\...|
|00004a10| a5 5c 5c 2a 16 5c 66 65 | 62 88 e5 0e 07 c8 e6 23 |.\\*.\fe|b......#|
|00004a20| 85 7d 02 e7 68 e8 5c 22 | 83 d1 01 e6 16 29 82 d4 |.}..h.\"|.....)..|
|00004a30| 01 c8 16 29 ea eb 21 88 | 60 c8 89 89 89 1e 2c 1e |...)..!.|`.....,.|
|00004a40| 2d 1e 2e 1e 2f 1e 30 f1 | 20 88 f2 0e 30 60 5c 22 |-.../.0.| ...0`\"|
|00004a50| 16 2f 8a ea f3 21 88 60 | 16 2c 29 d3 75 88 e7 68 |./...!.`|.,).u..h|
|00004a60| f4 5c 22 84 0b 02 e7 68 | de 5c 22 83 1b 02 f5 f6 |.\"....h|.\".....|
|00004a70| 21 84 1b 02 f7 d3 21 88 | f8 16 2e 82 50 02 60 16 |!.....!.|....P.`.|
|00004a80| 2d e5 f9 c8 e6 23 88 f5 | f6 21 83 33 02 e5 f9 c8 |-....#..|.!.3....|
|00004a90| e6 23 88 82 24 02 f7 d3 | 21 88 f2 0e 2d 60 5c 22 |.#..$...|!...-`\"|
|00004aa0| 16 2e fa fb 0e 2e 5c 22 | 83 50 02 0e 2e df 94 de |......\"|.P......|
|00004ab0| 49 88 82 3e 02 0e 0b 53 | 1e 14 0e 5c 66 0e 14 54 |I..>...S|...\f..T|
|00004ac0| 89 16 14 59 83 78 02 fc | 0e 2f 0e 2e fd 0e 14 21 |...Y.x..|./.....!|
|00004ad0| 23 83 55 02 fe fd 0e 14 | 21 21 88 82 55 02 2e 06 |#.U.....|!!..U...|
|00004ae0| 82 bb 01 2e 06 87 22 20 | 5b 72 65 67 65 78 70 2d |......" |[regexp-|
|00004af0| 71 75 6f 74 65 20 73 65 | 78 70 2d 64 69 61 72 79 |quote se|xp-diary|
|00004b00| 2d 65 6e 74 72 79 2d 73 | 79 6d 62 6f 6c 20 73 65 |-entry-s|ymbol se|
|00004b10| 78 70 2d 6d 61 72 6b 20 | 22 5c 5c 28 5c 5c 60 5c |xp-mark |"\\(\\`\|
|00004b20| 5c 7c 0d 5c 5c 7c 5c 6e | 5c 5c 29 5c 5c 28 22 20 |\|.\\|\n|\\)\\(" |
|00004b30| 22 28 5c 5c 29 5c 5c 7c | 5c 5c 28 22 20 64 69 61 |"(\\)\\||\\(" dia|
|00004b40| 72 79 2d 6e 6f 6e 6d 61 | 72 6b 69 6e 67 2d 73 79 |ry-nonma|rking-sy|
|00004b50| 6d 62 6f 6c 20 22 28 64 | 69 61 72 79 2d 72 65 6d |mbol "(d|iary-rem|
|00004b60| 69 6e 64 5c 5c 29 22 20 | 73 2d 65 6e 74 72 79 20 |ind\\)" |s-entry |
|00004b70| 6e 69 6c 20 6d 20 79 20 | 66 69 72 73 74 2d 64 61 |nil m y |first-da|
|00004b80| 74 65 20 6c 61 73 74 2d | 64 61 74 65 20 63 61 6c |te last-|date cal|
|00004b90| 65 6e 64 61 72 2d 62 75 | 66 66 65 72 20 64 69 73 |endar-bu|ffer dis|
|00004ba0| 70 6c 61 79 65 64 2d 6d | 6f 6e 74 68 20 64 69 73 |played-m|onth dis|
|00004bb0| 70 6c 61 79 65 64 2d 79 | 65 61 72 20 31 32 20 2d |played-y|ear 12 -|
|00004bc0| 32 20 6d 61 63 72 6f 2d | 79 20 31 20 64 61 74 65 |2 macro-|y 1 date|
|00004bd0| 20 70 72 69 6f 72 2d 79 | 65 61 72 73 20 6d 6f 6e | prior-y|ears mon|
|00004be0| 74 68 20 64 61 79 20 79 | 65 61 72 20 33 31 20 64 |th day y|ear 31 d|
|00004bf0| 61 79 2d 6f 66 2d 79 65 | 61 72 20 32 20 34 20 32 |ay-of-ye|ar 2 4 2|
|00004c00| 33 20 31 30 20 30 20 31 | 30 30 20 34 30 30 20 33 |3 10 0 1|00 400 3|
|00004c10| 36 35 20 32 39 20 5b 33 | 31 20 32 38 20 33 31 20 |65 29 [3|1 28 31 |
|00004c20| 33 30 20 33 31 20 33 30 | 20 33 31 20 33 31 20 33 |30 31 30| 31 31 3|
|00004c30| 30 20 33 31 20 33 30 20 | 33 31 5d 20 72 65 2d 73 |0 31 30 |31] re-s|
|00004c40| 65 61 72 63 68 2d 66 6f | 72 77 61 72 64 20 74 20 |earch-fo|rward t |
|00004c50| 63 68 61 72 2d 65 71 75 | 61 6c 20 34 30 20 6d 61 |char-equ|al 40 ma|
|00004c60| 72 6b 69 6e 67 2d 64 69 | 61 72 79 2d 65 6e 74 72 |rking-di|ary-entr|
|00004c70| 79 20 72 65 2d 73 65 61 | 72 63 68 2d 62 61 63 6b |y re-sea|rch-back|
|00004c80| 77 61 72 64 20 22 28 22 | 20 6c 69 6e 65 2d 73 74 |ward "("| line-st|
|00004c90| 61 72 74 20 65 6e 74 72 | 79 2d 73 74 61 72 74 20 |art entr|y-start |
|00004ca0| 65 6e 74 72 79 20 73 65 | 78 70 20 73 65 78 70 2d |entry se|xp sexp-|
|00004cb0| 73 74 61 72 74 20 66 6f | 72 77 61 72 64 2d 73 65 |start fo|rward-se|
|00004cc0| 78 70 20 62 75 66 66 65 | 72 2d 73 75 62 73 74 72 |xp buffe|r-substr|
|00004cd0| 69 6e 67 2d 6e 6f 2d 70 | 72 6f 70 65 72 74 69 65 |ing-no-p|ropertie|
|00004ce0| 73 20 22 0d 5c 5c 7c 5c | 6e 5c 5c 7c 5c 5c 60 22 |s ".\\|\|n\\|\\`"|
|00004cf0| 20 31 33 20 6c 6f 6f 6b | 69 6e 67 2d 61 74 20 22 | 13 look|ing-at "|
|00004d00| 20 5c 5c 7c 09 22 20 62 | 61 63 6b 77 61 72 64 2d | \\|." b|ackward-|
|00004d10| 63 68 61 72 20 22 22 20 | 22 0d 5c 5c 7c 5c 6e 22 |char "" |".\\|\n"|
|00004d20| 20 73 74 72 69 6e 67 2d | 6d 61 74 63 68 20 22 5b | string-|match "[|
|00004d30| 0d 5d 22 20 64 69 61 72 | 79 2d 73 65 78 70 2d 65 |.]" diar|y-sexp-e|
|00004d40| 6e 74 72 79 20 63 61 6c | 65 6e 64 61 72 2d 67 72 |ntry cal|endar-gr|
|00004d50| 65 67 6f 72 69 61 6e 2d | 66 72 6f 6d 2d 61 62 73 |egorian-|from-abs|
|00004d60| 6f 6c 75 74 65 20 6d 61 | 72 6b 2d 76 69 73 69 62 |olute ma|rk-visib|
|00004d70| 6c 65 2d 63 61 6c 65 6e | 64 61 72 2d 64 61 74 65 |le-calen|dar-date|
|00004d80| 5d 20 37 20 28 23 24 20 | 2e 20 31 38 32 33 34 29 |] 7 (#$ |. 18234)|
|00004d90| 5d 29 0a 23 40 35 30 33 | 20 4d 61 72 6b 20 74 68 |]).#@503| Mark th|
|00004da0| 65 20 64 69 61 72 79 20 | 65 6e 74 72 69 65 73 20 |e diary |entries |
|00004db0| 66 72 6f 6d 20 6f 74 68 | 65 72 20 64 69 61 72 79 |from oth|er diary|
|00004dc0| 20 66 69 6c 65 73 20 77 | 69 74 68 20 74 68 6f 73 | files w|ith thos|
|00004dd0| 65 20 6f 66 20 74 68 65 | 20 64 69 61 72 79 20 66 |e of the| diary f|
|00004de0| 69 6c 65 2e 0a 54 68 69 | 73 20 66 75 6e 63 74 69 |ile..Thi|s functi|
|00004df0| 6f 6e 20 69 73 20 73 75 | 69 74 61 62 6c 65 20 66 |on is su|itable f|
|00004e00| 6f 72 20 75 73 65 20 61 | 73 20 74 68 65 20 60 6d |or use a|s the `m|
|00004e10| 61 72 6b 2d 64 69 61 72 | 79 2d 65 6e 74 72 69 65 |ark-diar|y-entrie|
|00004e20| 73 2d 68 6f 6f 6b 27 3b | 20 69 74 20 65 6e 61 62 |s-hook';| it enab|
|00004e30| 6c 65 73 0a 79 6f 75 20 | 74 6f 20 75 73 65 20 73 |les.you |to use s|
|00004e40| 68 61 72 65 64 20 64 69 | 61 72 79 20 66 69 6c 65 |hared di|ary file|
|00004e50| 73 20 74 6f 67 65 74 68 | 65 72 20 77 69 74 68 20 |s togeth|er with |
|00004e60| 79 6f 75 72 20 6f 77 6e | 2e 20 20 54 68 65 20 66 |your own|. The f|
|00004e70| 69 6c 65 73 20 69 6e 63 | 6c 75 64 65 64 20 61 72 |iles inc|luded ar|
|00004e80| 65 0a 73 70 65 63 69 66 | 69 65 64 20 69 6e 20 74 |e.specif|ied in t|
|00004e90| 68 65 20 64 69 61 72 79 | 2d 66 69 6c 65 20 62 79 |he diary|-file by|
|00004ea0| 20 6c 69 6e 65 73 20 6f | 66 20 74 68 69 73 20 66 | lines o|f this f|
|00004eb0| 6f 72 6d 3a 0a 20 20 20 | 20 20 20 20 20 23 69 6e |orm:. | #in|
|00004ec0| 63 6c 75 64 65 20 22 66 | 69 6c 65 6e 61 6d 65 22 |clude "f|ilename"|
|00004ed0| 0a 54 68 69 73 20 69 73 | 20 72 65 63 75 72 73 69 |.This is| recursi|
|00004ee0| 76 65 3b 20 74 68 61 74 | 20 69 73 2c 20 23 69 6e |ve; that| is, #in|
|00004ef0| 63 6c 75 64 65 20 64 69 | 72 65 63 74 69 76 65 73 |clude di|rectives|
|00004f00| 20 69 6e 20 64 69 61 72 | 79 20 66 69 6c 65 73 20 | in diar|y files |
|00004f10| 74 68 75 73 20 69 6e 63 | 6c 75 64 65 64 0a 61 72 |thus inc|luded.ar|
|00004f20| 65 20 6f 62 65 79 65 64 | 2e 20 20 59 6f 75 20 63 |e obeyed|. You c|
|00004f30| 61 6e 20 63 68 61 6e 67 | 65 20 74 68 65 20 60 23 |an chang|e the `#|
|00004f40| 69 6e 63 6c 75 64 65 27 | 20 74 6f 20 73 6f 6d 65 |include'| to some|
|00004f50| 20 6f 74 68 65 72 20 73 | 74 72 69 6e 67 20 62 79 | other s|tring by|
|00004f60| 0a 63 68 61 6e 67 69 6e | 67 20 74 68 65 20 76 61 |.changin|g the va|
|00004f70| 72 69 61 62 6c 65 20 60 | 64 69 61 72 79 2d 69 6e |riable `|diary-in|
|00004f80| 63 6c 75 64 65 2d 73 74 | 72 69 6e 67 27 2e 1f 0a |clude-st|ring'...|
|00004f90| 28 64 65 66 61 6c 69 61 | 73 20 27 6d 61 72 6b 2d |(defalia|s 'mark-|
|00004fa0| 69 6e 63 6c 75 64 65 64 | 2d 64 69 61 72 79 2d 66 |included|-diary-f|
|00004fb0| 69 6c 65 73 20 23 5b 6e | 69 6c 20 22 65 62 88 c0 |iles #[n|il "eb..|
|00004fc0| c1 c2 0b 21 c4 51 c5 c6 | 23 83 59 00 c7 c8 c9 94 |...!.Q..|#.Y.....|
|00004fd0| c9 95 5c 22 21 ca 1e 0b | 1e 5c 66 cd 0e 5c 66 21 |..\"!...|.\f..\f!|
|00004fe0| 83 48 00 ce 0e 5c 66 21 | 83 38 00 cf 20 88 d0 d1 |.H...\f!|.8.. ...|
|00004ff0| 0e 5c 66 21 21 88 82 55 | 00 d2 20 88 d3 d4 0e 5c |.\f!!..U|.. ....\|
|00005000| 66 5c 22 88 d5 c9 21 88 | 82 55 00 d2 20 88 d3 d6 |f\"...!.|.U.. ...|
|00005010| 0e 5c 66 5c 22 88 d5 c9 | 21 88 2a 82 03 00 65 62 |.\f\"...|!.*...eb|
|00005020| 87 22 20 5b 72 65 2d 73 | 65 61 72 63 68 2d 66 6f |." [re-s|earch-fo|
|00005030| 72 77 61 72 64 20 22 5c | 5c 28 5c 5c 60 5c 5c 7c |rward "\|\(\\`\\||
|00005040| 0d 5c 5c 7c 5c 6e 5c 5c | 29 22 20 72 65 67 65 78 |.\\|\n\\|)" regex|
|00005050| 70 2d 71 75 6f 74 65 20 | 64 69 61 72 79 2d 69 6e |p-quote |diary-in|
|00005060| 63 6c 75 64 65 2d 73 74 | 72 69 6e 67 20 22 20 5c |clude-st|ring " \|
|00005070| 22 5c 5c 28 5b 5e 5c 22 | 5d 2a 5c 5c 29 5c 22 22 |"\\([^\"|]*\\)\""|
|00005080| 20 6e 69 6c 20 74 20 73 | 75 62 73 74 69 74 75 74 | nil t s|ubstitut|
|00005090| 65 2d 69 6e 2d 66 69 6c | 65 2d 6e 61 6d 65 20 62 |e-in-fil|e-name b|
|000050a0| 75 66 66 65 72 2d 73 75 | 62 73 74 72 69 6e 67 2d |uffer-su|bstring-|
|000050b0| 6e 6f 2d 70 72 6f 70 65 | 72 74 69 65 73 20 32 20 |no-prope|rties 2 |
|000050c0| 6d 61 72 6b 2d 69 6e 63 | 6c 75 64 65 64 2d 64 69 |mark-inc|luded-di|
|000050d0| 61 72 79 2d 66 69 6c 65 | 73 20 6d 61 72 6b 2d 64 |ary-file|s mark-d|
|000050e0| 69 61 72 79 2d 65 6e 74 | 72 69 65 73 2d 68 6f 6f |iary-ent|ries-hoo|
|000050f0| 6b 20 64 69 61 72 79 2d | 66 69 6c 65 20 66 69 6c |k diary-|file fil|
|00005100| 65 2d 65 78 69 73 74 73 | 2d 70 20 66 69 6c 65 2d |e-exists|-p file-|
|00005110| 72 65 61 64 61 62 6c 65 | 2d 70 20 6d 61 72 6b 2d |readable|-p mark-|
|00005120| 64 69 61 72 79 2d 65 6e | 74 72 69 65 73 20 6b 69 |diary-en|tries ki|
|00005130| 6c 6c 2d 62 75 66 66 65 | 72 20 66 69 6e 64 2d 62 |ll-buffe|r find-b|
|00005140| 75 66 66 65 72 2d 76 69 | 73 69 74 69 6e 67 20 62 |uffer-vi|siting b|
|00005150| 65 65 70 20 6d 65 73 73 | 61 67 65 20 22 43 61 6e |eep mess|age "Can|
|00005160| 27 74 20 72 65 61 64 20 | 69 6e 63 6c 75 64 65 64 |'t read |included|
|00005170| 20 64 69 61 72 79 20 66 | 69 6c 65 20 25 73 22 20 | diary f|ile %s" |
|00005180| 73 6c 65 65 70 2d 66 6f | 72 20 22 43 61 6e 27 74 |sleep-fo|r "Can't|
|00005190| 20 66 69 6e 64 20 69 6e | 63 6c 75 64 65 64 20 64 | find in|cluded d|
|000051a0| 69 61 72 79 20 66 69 6c | 65 20 25 73 22 5d 20 34 |iary fil|e %s"] 4|
|000051b0| 20 28 23 24 20 2e 20 31 | 39 38 36 35 29 5d 29 0a | (#$ . 1|9865)]).|
|000051c0| 23 40 31 32 36 20 4d 61 | 72 6b 20 61 6c 6c 20 64 |#@126 Ma|rk all d|
|000051d0| 61 74 65 73 20 69 6e 20 | 74 68 65 20 63 61 6c 65 |ates in |the cale|
|000051e0| 6e 64 61 72 20 77 69 6e | 64 6f 77 20 74 68 61 74 |ndar win|dow that|
|000051f0| 20 61 72 65 20 64 61 79 | 20 44 41 59 4e 41 4d 45 | are day| DAYNAME|
|00005200| 20 6f 66 20 74 68 65 20 | 77 65 65 6b 2e 0a 30 20 | of the |week..0 |
|00005210| 6d 65 61 6e 73 20 61 6c | 6c 20 53 75 6e 64 61 79 |means al|l Sunday|
|00005220| 73 2c 20 31 20 6d 65 61 | 6e 73 20 61 6c 6c 20 4d |s, 1 mea|ns all M|
|00005230| 6f 6e 64 61 79 73 2c 20 | 61 6e 64 20 73 6f 20 6f |ondays, |and so o|
|00005240| 6e 2e 1f 0a 28 64 65 66 | 61 6c 69 61 73 20 27 6d |n...(def|alias 'm|
|00005250| 61 72 6b 2d 63 61 6c 65 | 6e 64 61 72 2d 64 61 79 |ark-cale|ndar-day|
|00005260| 73 2d 6e 61 6d 65 64 20 | 23 5b 28 64 61 79 6e 61 |s-named |#[(dayna|
|00005270| 6d 65 29 20 22 8a 08 71 | 88 09 5c 6e 09 5c 6e c3 |me) "..q|..\n.\n.|
|00005280| 89 1c 1d 1e 06 1e 07 1e | 08 1e 09 0e 06 ca 5f 0e |........|......_.|
|00005290| 07 5c 5c cb 5c 5c cc 5c | 5c 89 1e 0d ca a6 54 16 |.\\.\\.\|\.....T.|
|000052a0| 07 0e 0d ca a5 16 06 29 | 0e 08 ca 5f 0e 09 5c 5c |.......)|..._..\\|
|000052b0| ce 5c 5c 89 1e 0d ca a6 | 54 16 09 0e 0d ca a5 16 |.\\.....|T.......|
|000052c0| 08 29 cf cc 0e 10 0e 09 | 0e 08 24 89 1e 11 89 1e |.)......|..$.....|
|000052d0| 11 41 41 40 29 53 1e 12 | 0e 11 89 1e 11 89 1e 11 |.AA@)S..|........|
|000052e0| 40 29 1e 13 0e 11 89 1e | 11 41 40 29 1c 0e 11 89 |@)......|.A@)....|
|000052f0| 1e 11 41 41 40 29 1e 14 | 5c 66 0e 13 53 d5 5f 5c |..AA@)..|\f..S._\|
|00005300| 5c 1e 16 0e 13 d7 56 83 | be 00 0e 16 0e 13 d8 5f |\.....V.|......._|
|00005310| d9 5c 5c da a5 5a 16 16 | 0e 14 89 1e 14 d8 a6 db |.\\..Z..|........|
|00005320| 55 85 b5 00 0e 14 dc a6 | db 55 3f 86 b5 00 0e 14 |U.......|.U?.....|
|00005330| dd a6 db 55 29 83 be 00 | 0e 16 54 16 16 0e 16 2d |...U)...|..T....-|
|00005340| 0e 12 de 5f 5c 5c 0e 12 | d8 a5 5c 5c 0e 12 dc a5 |..._\\..|..\\....|
|00005350| 5b 5c 5c 0e 12 dd a5 5c | 5c 2a 14 cf cb 0e 10 0e |[\\....\|\*......|
|00005360| 07 0e 06 24 89 1e 11 89 | 1e 11 41 41 40 29 53 1e |...$....|..AA@)S.|
|00005370| 12 0e 11 89 1e 11 89 1e | 11 40 29 1e 13 0e 11 89 |........|.@).....|
|00005380| 1e 11 41 40 29 1c 0e 11 | 89 1e 11 41 41 40 29 1e |..A@)...|...AA@).|
|00005390| 14 5c 66 0e 13 53 d5 5f | 5c 5c 1e 16 0e 13 d7 56 |.\f..S._|\\.....V|
|000053a0| 83 50 01 0e 16 0e 13 d8 | 5f d9 5c 5c da a5 5a 16 |.P......|_.\\..Z.|
|000053b0| 16 0e 14 89 1e 14 d8 a6 | db 55 85 47 01 0e 14 dc |........|.U.G....|
|000053c0| a6 db 55 3f 86 47 01 0e | 14 dd a6 db 55 29 83 50 |..U?.G..|....U).P|
|000053d0| 01 0e 16 54 16 16 0e 16 | 2d 0e 12 de 5f 5c 5c 0e |...T....|-..._\\.|
|000053e0| 12 d8 a5 5c 5c 0e 12 dc | a5 5b 5c 5c 0e 12 dd a5 |...\\...|.[\\....|
|000053f0| 5c 5c 2a 15 5c 66 0d 58 | 85 7e 01 df e0 5c 66 21 |\\*.\f.X|.~...\f!|
|00005400| 21 88 5c 66 e1 5c 5c 89 | 14 82 6b 01 2e 07 87 22 |!.\f.\\.|..k...."|
|00005410| 20 5b 63 61 6c 65 6e 64 | 61 72 2d 62 75 66 66 65 | [calend|ar-buffe|
|00005420| 72 20 64 69 73 70 6c 61 | 79 65 64 2d 6d 6f 6e 74 |r displa|yed-mont|
|00005430| 68 20 64 69 73 70 6c 61 | 79 65 64 2d 79 65 61 72 |h displa|yed-year|
|00005440| 20 6e 69 6c 20 64 61 79 | 20 6c 61 73 74 2d 64 61 | nil day| last-da|
|00005450| 79 20 73 75 63 63 2d 79 | 65 61 72 20 73 75 63 63 |y succ-y|ear succ|
|00005460| 2d 6d 6f 6e 74 68 20 70 | 72 65 76 2d 79 65 61 72 |-month p|rev-year|
|00005470| 20 70 72 65 76 2d 6d 6f | 6e 74 68 20 31 32 20 2d | prev-mo|nth 12 -|
|00005480| 31 20 31 20 6d 61 63 72 | 6f 2d 79 20 2d 32 20 63 |1 1 macr|o-y -2 c|
|00005490| 61 6c 65 6e 64 61 72 2d | 6e 74 68 2d 6e 61 6d 65 |alendar-|nth-name|
|000054a0| 64 2d 64 61 79 20 64 61 | 79 6e 61 6d 65 20 64 61 |d-day da|yname da|
|000054b0| 74 65 20 70 72 69 6f 72 | 2d 79 65 61 72 73 20 6d |te prior|-years m|
|000054c0| 6f 6e 74 68 20 79 65 61 | 72 20 33 31 20 64 61 79 |onth yea|r 31 day|
|000054d0| 2d 6f 66 2d 79 65 61 72 | 20 32 20 34 20 32 33 20 |-of-year| 2 4 23 |
|000054e0| 31 30 20 30 20 31 30 30 | 20 34 30 30 20 33 36 35 |10 0 100| 400 365|
|000054f0| 20 6d 61 72 6b 2d 76 69 | 73 69 62 6c 65 2d 63 61 | mark-vi|sible-ca|
|00005500| 6c 65 6e 64 61 72 2d 64 | 61 74 65 20 63 61 6c 65 |lendar-d|ate cale|
|00005510| 6e 64 61 72 2d 67 72 65 | 67 6f 72 69 61 6e 2d 66 |ndar-gre|gorian-f|
|00005520| 72 6f 6d 2d 61 62 73 6f | 6c 75 74 65 20 37 5d 20 |rom-abso|lute 7] |
|00005530| 37 20 28 23 24 20 2e 20 | 32 30 39 33 34 29 5d 29 |7 (#$ . |20934)])|
|00005540| 0a 23 40 31 31 35 20 4d | 61 72 6b 20 61 6c 6c 20 |.#@115 M|ark all |
|00005550| 64 61 74 65 73 20 69 6e | 20 74 68 65 20 63 61 6c |dates in| the cal|
|00005560| 65 6e 64 61 72 20 77 69 | 6e 64 6f 77 20 74 68 61 |endar wi|ndow tha|
|00005570| 74 20 63 6f 6e 66 6f 72 | 6d 20 74 6f 20 4d 4f 4e |t confor|m to MON|
|00005580| 54 48 2f 44 41 59 2f 59 | 45 41 52 2e 0a 41 20 76 |TH/DAY/Y|EAR..A v|
|00005590| 61 6c 75 65 20 6f 66 20 | 30 20 69 6e 20 61 6e 79 |alue of |0 in any|
|000055a0| 20 70 6f 73 69 74 69 6f | 6e 20 69 73 20 61 20 77 | positio|n is a w|
|000055b0| 69 6c 64 63 61 72 64 2e | 1f 0a 28 64 65 66 61 6c |ildcard.|..(defal|
|000055c0| 69 61 73 20 27 6d 61 72 | 6b 2d 63 61 6c 65 6e 64 |ias 'mar|k-calend|
|000055d0| 61 72 2d 64 61 74 65 2d | 70 61 74 74 65 72 6e 20 |ar-date-|pattern |
|000055e0| 23 5b 28 6d 6f 6e 74 68 | 20 64 61 79 20 79 65 61 |#[(month| day yea|
|000055f0| 72 29 20 22 8a 08 71 88 | 09 5c 6e 1b 1c 0b c5 5f |r) "..q.|.\n...._|
|00005600| 5c 66 5c 5c c6 5c 5c 89 | 1e 07 c5 a6 54 14 0e 07 |\f\\.\\.|....T...|
|00005610| c5 a5 13 29 c8 1e 09 ca | 0e 09 54 89 16 09 59 85 |...)....|..T...Y.|
|00005620| 4e 00 cb 5c 66 0b 0e 5c | 66 0e 0d 0e 0e 25 88 0b |N..\f..\|f....%..|
|00005630| c5 5f 5c 66 5c 5c c8 5c | 5c cf 5c 5c 89 1e 07 c5 |._\f\\.\|\.\\....|
|00005640| a6 54 14 0e 07 c5 a5 13 | 29 82 1f 00 2c 87 22 20 |.T......|)...,." |
|00005650| 5b 63 61 6c 65 6e 64 61 | 72 2d 62 75 66 66 65 72 |[calenda|r-buffer|
|00005660| 20 64 69 73 70 6c 61 79 | 65 64 2d 6d 6f 6e 74 68 | display|ed-month|
|00005670| 20 64 69 73 70 6c 61 79 | 65 64 2d 79 65 61 72 20 | display|ed-year |
|00005680| 79 20 6d 20 31 32 20 2d | 32 20 6d 61 63 72 6f 2d |y m 12 -|2 macro-|
|00005690| 79 20 2d 31 20 69 20 32 | 20 6d 61 72 6b 2d 63 61 |y -1 i 2| mark-ca|
|000056a0| 6c 65 6e 64 61 72 2d 6d | 6f 6e 74 68 20 6d 6f 6e |lendar-m|onth mon|
|000056b0| 74 68 20 64 61 79 20 79 | 65 61 72 20 31 5d 20 37 |th day y|ear 1] 7|
|000056c0| 20 28 23 24 20 2e 20 32 | 31 38 33 31 29 5d 29 0a | (#$ . 2|1831)]).|
|000056d0| 23 40 31 33 35 20 4d 61 | 72 6b 20 64 61 74 65 73 |#@135 Ma|rk dates|
|000056e0| 20 69 6e 20 74 68 65 20 | 4d 4f 4e 54 48 2f 59 45 | in the |MONTH/YE|
|000056f0| 41 52 20 74 68 61 74 20 | 63 6f 6e 66 6f 72 6d 20 |AR that |conform |
|00005700| 74 6f 20 70 61 74 74 65 | 72 6e 20 50 2d 4d 4f 4e |to patte|rn P-MON|
|00005710| 54 48 2f 50 5f 44 41 59 | 2f 50 2d 59 45 41 52 2e |TH/P_DAY|/P-YEAR.|
|00005720| 0a 41 20 76 61 6c 75 65 | 20 6f 66 20 30 20 69 6e |.A value| of 0 in|
|00005730| 20 61 6e 79 20 70 6f 73 | 69 74 69 6f 6e 20 6f 66 | any pos|ition of|
|00005740| 20 74 68 65 20 70 61 74 | 74 65 72 6e 20 69 73 20 | the pat|tern is |
|00005750| 61 20 77 69 6c 64 63 61 | 72 64 2e 1f 0a 28 64 65 |a wildca|rd...(de|
|00005760| 66 61 6c 69 61 73 20 27 | 6d 61 72 6b 2d 63 61 6c |falias '|mark-cal|
|00005770| 65 6e 64 61 72 2d 6d 6f | 6e 74 68 20 23 5b 28 6d |endar-mo|nth #[(m|
|00005780| 6f 6e 74 68 20 79 65 61 | 72 20 70 2d 6d 6f 6e 74 |onth yea|r p-mont|
|00005790| 68 20 70 2d 64 61 79 20 | 70 2d 79 65 61 72 29 20 |h p-day |p-year) |
|000057a0| 22 08 09 55 83 12 00 5c | 6e c3 55 84 24 00 5c 66 |"..U...\|n.U.$.\f|
|000057b0| 5c 6e 55 84 24 00 09 c3 | 55 85 79 00 5c 6e c3 55 |\nU.$...|U.y.\n.U|
|000057c0| 84 24 00 5c 66 5c 6e 55 | 85 79 00 0d c3 55 83 73 |.$.\f\nU|.y...U.s|
|000057d0| 00 c3 1e 06 08 5c 66 1c | 89 18 c7 55 83 57 00 5c |.....\f.|...U.W.\|
|000057e0| 66 89 1c c8 a6 c3 55 85 | 4f 00 5c 66 c9 a6 c3 55 |f.....U.|O.\f...U|
|000057f0| 3f 86 4f 00 5c 66 ca a6 | c3 55 29 83 57 00 cb 82 |?.O.\f..|.U).W...|
|00005800| 5b 00 cc 08 53 48 2a 0e | 06 54 89 16 06 59 85 71 |[...SH*.|.T...Y.q|
|00005810| 00 cd 08 0e 06 5c 66 45 | 21 88 82 2d 00 29 87 cd |.....\fE|!..-.)..|
|00005820| 08 0d 5c 66 45 21 87 22 | 20 5b 6d 6f 6e 74 68 20 |..\fE!."| [month |
|00005830| 70 2d 6d 6f 6e 74 68 20 | 70 2d 79 65 61 72 20 30 |p-month |p-year 0|
|00005840| 20 79 65 61 72 20 70 2d | 64 61 79 20 69 20 32 20 | year p-|day i 2 |
|00005850| 34 20 31 30 30 20 34 30 | 30 20 32 39 20 5b 33 31 |4 100 40|0 29 [31|
|00005860| 20 32 38 20 33 31 20 33 | 30 20 33 31 20 33 30 20 | 28 31 3|0 31 30 |
|00005870| 33 31 20 33 31 20 33 30 | 20 33 31 20 33 30 20 33 |31 31 30| 31 30 3|
|00005880| 31 5d 20 6d 61 72 6b 2d | 76 69 73 69 62 6c 65 2d |1] mark-|visible-|
|00005890| 63 61 6c 65 6e 64 61 72 | 2d 64 61 74 65 5d 20 35 |calendar|-date] 5|
|000058a0| 20 28 23 24 20 2e 20 32 | 32 32 33 30 29 5d 29 0a | (#$ . 2|2230)]).|
|000058b0| 23 40 34 38 20 53 6f 72 | 74 20 74 68 65 20 6c 69 |#@48 Sor|t the li|
|000058c0| 73 74 20 6f 66 20 64 69 | 61 72 79 20 65 6e 74 72 |st of di|ary entr|
|000058d0| 69 65 73 20 62 79 20 74 | 69 6d 65 20 6f 66 20 64 |ies by t|ime of d|
|000058e0| 61 79 2e 1f 0a 28 64 65 | 66 61 6c 69 61 73 20 27 |ay...(de|falias '|
|000058f0| 73 6f 72 74 2d 64 69 61 | 72 79 2d 65 6e 74 72 69 |sort-dia|ry-entri|
|00005900| 65 73 20 23 5b 6e 69 6c | 20 22 c0 09 c2 5c 22 89 |es #[nil| "...\".|
|00005910| 11 87 22 20 5b 73 6f 72 | 74 20 64 69 61 72 79 2d |.." [sor|t diary-|
|00005920| 65 6e 74 72 69 65 73 2d | 6c 69 73 74 20 64 69 61 |entries-|list dia|
|00005930| 72 79 2d 65 6e 74 72 79 | 2d 63 6f 6d 70 61 72 65 |ry-entry|-compare|
|00005940| 5d 20 33 20 28 23 24 20 | 2e 20 32 32 37 30 39 29 |] 3 (#$ |. 22709)|
|00005950| 5d 29 0a 23 40 33 37 20 | 52 65 74 75 72 6e 73 20 |]).#@37 |Returns |
|00005960| 74 20 69 66 20 45 31 20 | 69 73 20 65 61 72 6c 69 |t if E1 |is earli|
|00005970| 65 72 20 74 68 61 6e 20 | 45 32 2e 1f 0a 28 64 65 |er than |E2...(de|
|00005980| 66 61 6c 69 61 73 20 27 | 64 69 61 72 79 2d 65 6e |falias '|diary-en|
|00005990| 74 72 79 2d 63 6f 6d 70 | 61 72 65 20 23 5b 28 65 |try-comp|are #[(e|
|000059a0| 31 20 65 32 29 20 22 c0 | 09 5c 6e 5c 22 86 1b 00 |1 e2) ".|.\n\"...|
|000059b0| c3 09 40 5c 6e 40 5c 22 | 85 1b 00 c4 09 41 40 21 |..@\n@\"|.....A@!|
|000059c0| c4 5c 6e 41 40 21 57 87 | 22 20 5b 63 61 6c 65 6e |.\nA@!W.|" [calen|
|000059d0| 64 61 72 2d 64 61 74 65 | 2d 63 6f 6d 70 61 72 65 |dar-date|-compare|
|000059e0| 20 65 31 20 65 32 20 63 | 61 6c 65 6e 64 61 72 2d | e1 e2 c|alendar-|
|000059f0| 64 61 74 65 2d 65 71 75 | 61 6c 20 64 69 61 72 79 |date-equ|al diary|
|00005a00| 2d 65 6e 74 72 79 2d 74 | 69 6d 65 5d 20 33 20 28 |-entry-t|ime] 3 (|
|00005a10| 23 24 20 2e 20 32 32 38 | 37 32 29 5d 29 0a 23 40 |#$ . 228|72)]).#@|
|00005a20| 32 34 39 20 54 69 6d 65 | 20 61 74 20 74 68 65 20 |249 Time| at the |
|00005a30| 62 65 67 69 6e 6e 69 6e | 67 20 6f 66 20 74 68 65 |beginnin|g of the|
|00005a40| 20 73 74 72 69 6e 67 20 | 53 20 69 6e 20 61 20 6d | string |S in a m|
|00005a50| 69 6c 69 74 61 72 79 2d | 73 74 79 6c 65 20 69 6e |ilitary-|style in|
|00005a60| 74 65 67 65 72 2e 0a 46 | 6f 72 20 65 78 61 6d 70 |teger..F|or examp|
|00005a70| 6c 65 2c 20 72 65 74 75 | 72 6e 73 20 31 33 32 35 |le, retu|rns 1325|
|00005a80| 20 66 6f 72 20 31 3a 32 | 35 70 6d 2e 20 20 52 65 | for 1:2|5pm. Re|
|00005a90| 74 75 72 6e 73 20 2d 39 | 39 39 39 20 69 66 20 6e |turns -9|999 if n|
|00005aa0| 6f 20 74 69 6d 65 20 69 | 73 20 72 65 63 6f 67 6e |o time i|s recogn|
|00005ab0| 69 7a 65 64 2e 0a 54 68 | 65 20 72 65 63 6f 67 6e |ized..Th|e recogn|
|00005ac0| 69 7a 65 64 20 66 6f 72 | 6d 73 20 61 72 65 20 58 |ized for|ms are X|
|00005ad0| 58 58 58 20 6f 72 20 58 | 3a 58 58 20 6f 72 20 58 |XXX or X|:XX or X|
|00005ae0| 58 3a 58 58 20 28 6d 69 | 6c 69 74 61 72 79 20 74 |X:XX (mi|litary t|
|00005af0| 69 6d 65 29 2c 20 58 58 | 61 6d 20 6f 72 20 58 58 |ime), XX|am or XX|
|00005b00| 70 6d 2c 0a 61 6e 64 20 | 58 58 3a 58 58 61 6d 20 |pm,.and |XX:XXam |
|00005b10| 6f 72 20 58 58 3a 58 58 | 70 6d 2e 1f 0a 28 64 65 |or XX:XX|pm...(de|
|00005b20| 66 61 6c 69 61 73 20 27 | 64 69 61 72 79 2d 65 6e |falias '|diary-en|
|00005b30| 74 72 79 2d 74 69 6d 65 | 20 23 5b 28 73 29 20 22 |try-time| #[(s) "|
|00005b40| c0 c1 5c 6e 5c 22 83 1b | 00 c3 5c 6e c4 94 c4 95 |..\n\"..|..\n....|
|00005b50| 4f 21 c5 5f c3 5c 6e c6 | 94 c6 95 4f 21 5c 5c 87 |O!._.\n.|...O!\\.|
|00005b60| c0 c7 5c 6e 5c 22 83 40 | 00 c3 5c 6e c4 94 c4 95 |..\n\".@|..\n....|
|00005b70| 4f 21 c8 a6 c5 5f 5c 6e | c6 94 c6 95 4f c9 98 83 |O!..._\n|....O...|
|00005b80| 3d 00 ca 82 3e 00 cb 5c | 5c 87 c0 cc 5c 6e 5c 22 |=...>..\|\...\n\"|
|00005b90| 83 6e 00 c3 5c 6e c4 94 | c4 95 4f 21 c8 a6 c5 5f |.n..\n..|..O!..._|
|00005ba0| c3 5c 6e c6 94 c6 95 4f | 21 5c 5c 5c 6e cd 94 cd |.\n....O|!\\\n...|
|00005bb0| 95 4f c9 98 83 6b 00 ca | 82 6c 00 cb 5c 5c 87 ce |.O...k..|.l..\\..|
|00005bc0| 87 22 20 5b 73 74 72 69 | 6e 67 2d 6d 61 74 63 68 |." [stri|ng-match|
|00005bd0| 20 22 5e 5b 20 09 5d 2a | 5c 5c 28 5b 30 2d 39 5d | "^[ .]*|\\([0-9]|
|00005be0| 3f 5b 30 2d 39 5d 5c 5c | 29 3a 3f 5c 5c 28 5b 30 |?[0-9]\\|):?\\([0|
|00005bf0| 2d 39 5d 5b 30 2d 39 5d | 5c 5c 29 5c 5c 28 5c 5c |-9][0-9]|\\)\\(\\|
|00005c00| 3e 5c 5c 7c 5b 5e 61 70 | 5d 5c 5c 29 22 20 73 20 |>\\|[^ap|]\\)" s |
|00005c10| 73 74 72 69 6e 67 2d 74 | 6f 2d 69 6e 74 20 31 20 |string-t|o-int 1 |
|00005c20| 31 30 30 20 32 20 22 5e | 5b 20 09 5d 2a 5c 5c 28 |100 2 "^|[ .]*\\(|
|00005c30| 5b 30 2d 39 5d 3f 5b 30 | 2d 39 5d 5c 5c 29 5c 5c |[0-9]?[0|-9]\\)\\|
|00005c40| 28 5b 61 70 5d 5c 5c 29 | 6d 5c 5c 3e 22 20 31 32 |([ap]\\)|m\\>" 12|
|00005c50| 20 22 61 22 20 30 20 31 | 32 30 30 20 22 5e 5b 20 | "a" 0 1|200 "^[ |
|00005c60| 09 5d 2a 5c 5c 28 5b 30 | 2d 39 5d 3f 5b 30 2d 39 |.]*\\([0|-9]?[0-9|
|00005c70| 5d 5c 5c 29 3a 5c 5c 28 | 5b 30 2d 39 5d 5b 30 2d |]\\):\\(|[0-9][0-|
|00005c80| 39 5d 5c 5c 29 5c 5c 28 | 5b 61 70 5d 5c 5c 29 6d |9]\\)\\(|[ap]\\)m|
|00005c90| 5c 5c 3e 22 20 33 20 2d | 39 39 39 39 5d 20 35 20 |\\>" 3 -|9999] 5 |
|00005ca0| 28 23 24 20 2e 20 32 33 | 30 37 36 29 5d 29 0a 23 |(#$ . 23|076)]).#|
|00005cb0| 40 37 39 35 32 20 41 64 | 64 20 73 65 78 70 20 65 |@7952 Ad|d sexp e|
|00005cc0| 6e 74 72 69 65 73 20 66 | 6f 72 20 44 41 54 45 20 |ntries f|or DATE |
|00005cd0| 66 72 6f 6d 20 74 68 65 | 20 64 69 61 72 79 20 66 |from the| diary f|
|00005ce0| 69 6c 65 20 74 6f 20 60 | 64 69 61 72 79 2d 65 6e |ile to `|diary-en|
|00005cf0| 74 72 69 65 73 2d 6c 69 | 73 74 27 2e 0a 41 6c 73 |tries-li|st'..Als|
|00005d00| 6f 2c 20 4d 61 6b 65 20 | 74 68 65 6d 20 76 69 73 |o, Make |them vis|
|00005d10| 69 62 6c 65 20 69 6e 20 | 74 68 65 20 64 69 61 72 |ible in |the diar|
|00005d20| 79 20 66 69 6c 65 2e 20 | 20 52 65 74 75 72 6e 73 |y file. | Returns|
|00005d30| 20 74 20 69 66 20 61 6e | 79 20 65 6e 74 72 69 65 | t if an|y entrie|
|00005d40| 73 20 77 65 72 65 0a 66 | 6f 75 6e 64 2e 0a 0a 53 |s were.f|ound...S|
|00005d50| 65 78 70 20 64 69 61 72 | 79 20 65 6e 74 72 69 65 |exp diar|y entrie|
|00005d60| 73 20 6d 75 73 74 20 62 | 65 20 70 72 65 66 61 63 |s must b|e prefac|
|00005d70| 65 64 20 62 79 20 61 20 | 60 73 65 78 70 2d 64 69 |ed by a |`sexp-di|
|00005d80| 61 72 79 2d 65 6e 74 72 | 79 2d 73 79 6d 62 6f 6c |ary-entr|y-symbol|
|00005d90| 27 20 28 6e 6f 72 6d 61 | 6c 6c 79 0a 60 25 25 27 |' (norma|lly.`%%'|
|00005da0| 29 2e 20 20 54 68 65 20 | 66 6f 72 6d 20 6f 66 20 |). The |form of |
|00005db0| 61 20 73 65 78 70 20 64 | 69 61 72 79 20 65 6e 74 |a sexp d|iary ent|
|00005dc0| 72 79 20 69 73 0a 0a 20 | 20 20 20 20 20 20 20 20 |ry is.. | |
|00005dd0| 20 20 20 20 20 20 20 20 | 20 25 25 28 53 45 58 50 | | %%(SEXP|
|00005de0| 29 20 45 4e 54 52 59 0a | 0a 42 6f 74 68 20 45 4e |) ENTRY.|.Both EN|
|00005df0| 54 52 59 20 61 6e 64 20 | 44 41 54 45 20 61 72 65 |TRY and |DATE are|
|00005e00| 20 67 6c 6f 62 61 6c 6c | 79 20 61 76 61 69 6c 61 | globall|y availa|
|00005e10| 62 6c 65 20 77 68 65 6e | 20 74 68 65 20 53 45 58 |ble when| the SEX|
|00005e20| 50 20 69 73 20 65 76 61 | 6c 75 61 74 65 64 2e 20 |P is eva|luated. |
|00005e30| 20 49 66 20 74 68 65 0a | 53 45 58 50 20 79 69 65 | If the.|SEXP yie|
|00005e40| 6c 64 73 20 74 68 65 20 | 76 61 6c 75 65 20 6e 69 |lds the |value ni|
|00005e50| 6c 2c 20 74 68 65 20 64 | 69 61 72 79 20 65 6e 74 |l, the d|iary ent|
|00005e60| 72 79 20 64 6f 65 73 20 | 6e 6f 74 20 61 70 70 6c |ry does |not appl|
|00005e70| 79 2e 20 20 49 66 20 69 | 74 20 79 69 65 6c 64 73 |y. If i|t yields|
|00005e80| 20 61 0a 6e 6f 6e 2d 6e | 69 6c 20 76 61 6c 75 65 | a.non-n|il value|
|00005e90| 2c 20 45 4e 54 52 59 20 | 77 69 6c 6c 20 62 65 20 |, ENTRY |will be |
|00005ea0| 74 61 6b 65 6e 20 74 6f | 20 61 70 70 6c 79 20 74 |taken to| apply t|
|00005eb0| 6f 20 44 41 54 45 3b 20 | 69 66 20 74 68 65 20 6e |o DATE; |if the n|
|00005ec0| 6f 6e 2d 6e 69 6c 20 76 | 61 6c 75 65 20 69 73 20 |on-nil v|alue is |
|00005ed0| 61 0a 73 74 72 69 6e 67 | 2c 20 74 68 61 74 20 73 |a.string|, that s|
|00005ee0| 74 72 69 6e 67 20 77 69 | 6c 6c 20 62 65 20 74 68 |tring wi|ll be th|
|00005ef0| 65 20 64 69 61 72 79 20 | 65 6e 74 72 79 20 69 6e |e diary |entry in|
|00005f00| 20 74 68 65 20 66 61 6e | 63 79 20 64 69 61 72 79 | the fan|cy diary|
|00005f10| 20 64 69 73 70 6c 61 79 | 2e 0a 0a 46 6f 72 20 65 | display|...For e|
|00005f20| 78 61 6d 70 6c 65 2c 20 | 74 68 65 20 66 6f 6c 6c |xample, |the foll|
|00005f30| 6f 77 69 6e 67 20 64 69 | 61 72 79 20 65 6e 74 72 |owing di|ary entr|
|00005f40| 79 20 77 69 6c 6c 20 61 | 70 70 6c 79 20 74 6f 20 |y will a|pply to |
|00005f50| 74 68 65 20 32 31 73 74 | 20 6f 66 20 74 68 65 20 |the 21st| of the |
|00005f60| 6d 6f 6e 74 68 0a 69 66 | 20 69 74 20 69 73 20 61 |month.if| it is a|
|00005f70| 20 77 65 65 6b 64 61 79 | 20 61 6e 64 20 74 68 65 | weekday| and the|
|00005f80| 20 46 72 69 64 61 79 20 | 62 65 66 6f 72 65 20 69 | Friday |before i|
|00005f90| 66 20 74 68 65 20 32 31 | 73 74 20 69 73 20 6f 6e |f the 21|st is on|
|00005fa0| 20 61 20 77 65 65 6b 65 | 6e 64 3a 0a 0a 20 20 20 | a weeke|nd:.. |
|00005fb0| 20 20 20 26 25 25 28 6c | 65 74 20 28 28 64 61 79 | &%%(l|et ((day|
|00005fc0| 6e 61 6d 65 20 28 63 61 | 6c 65 6e 64 61 72 2d 64 |name (ca|lendar-d|
|00005fd0| 61 79 2d 6f 66 2d 77 65 | 65 6b 20 64 61 74 65 29 |ay-of-we|ek date)|
|00005fe0| 29 0a 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |). | |
|00005ff0| 20 28 64 61 79 20 28 65 | 78 74 72 61 63 74 2d 63 | (day (e|xtract-c|
|00006000| 61 6c 65 6e 64 61 72 2d | 64 61 79 20 64 61 74 65 |alendar-|day date|
|00006010| 29 29 29 0a 20 20 20 20 | 20 20 20 20 20 20 20 28 |))). | (|
|00006020| 6f 72 0a 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |or. | |
|00006030| 28 61 6e 64 20 28 3d 20 | 64 61 79 20 32 31 29 20 |(and (= |day 21) |
|00006040| 28 6d 65 6d 71 20 64 61 | 79 6e 61 6d 65 20 27 28 |(memq da|yname '(|
|00006050| 31 20 32 20 33 20 34 20 | 35 29 29 29 0a 20 20 20 |1 2 3 4 |5))). |
|00006060| 20 20 20 20 20 20 20 20 | 20 20 28 61 6e 64 20 28 | | (and (|
|00006070| 6d 65 6d 71 20 64 61 79 | 20 27 28 31 39 20 32 30 |memq day| '(19 20|
|00006080| 29 29 20 28 3d 20 64 61 | 79 6e 61 6d 65 20 35 29 |)) (= da|yname 5)|
|00006090| 29 29 0a 20 20 20 20 20 | 20 20 20 20 29 20 55 49 |)). | ) UI|
|000060a0| 55 43 20 70 61 79 20 63 | 68 65 63 6b 73 20 64 65 |UC pay c|hecks de|
|000060b0| 70 6f 73 69 74 65 64 0a | 0a 41 20 6e 75 6d 62 65 |posited.|.A numbe|
|000060c0| 72 20 6f 66 20 62 75 69 | 6c 74 2d 69 6e 20 66 75 |r of bui|lt-in fu|
|000060d0| 6e 63 74 69 6f 6e 73 20 | 61 72 65 20 61 76 61 69 |nctions |are avai|
|000060e0| 6c 61 62 6c 65 20 66 6f | 72 20 74 68 69 73 20 74 |lable fo|r this t|
|000060f0| 79 70 65 20 6f 66 20 64 | 69 61 72 79 20 65 6e 74 |ype of d|iary ent|
|00006100| 72 79 3a 0a 0a 20 20 20 | 20 20 20 25 25 28 64 69 |ry:.. | %%(di|
|00006110| 61 72 79 2d 64 61 74 65 | 20 4d 4f 4e 54 48 20 44 |ary-date| MONTH D|
|00006120| 41 59 20 59 45 41 52 29 | 20 74 65 78 74 0a 20 20 |AY YEAR)| text. |
|00006130| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00006140| 45 6e 74 72 79 20 61 70 | 70 6c 69 65 73 20 69 66 |Entry ap|plies if|
|00006150| 20 64 61 74 65 20 69 73 | 20 4d 4f 4e 54 48 2c 20 | date is| MONTH, |
|00006160| 44 41 59 2c 20 59 45 41 | 52 20 69 66 0a 20 20 20 |DAY, YEA|R if. |
|00006170| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 60 | | `|
|00006180| 65 75 72 6f 70 65 61 6e | 2d 63 61 6c 65 6e 64 61 |european|-calenda|
|00006190| 72 2d 73 74 79 6c 65 27 | 20 69 73 20 6e 69 6c 2c |r-style'| is nil,|
|000061a0| 20 61 6e 64 20 44 41 59 | 2c 20 4d 4f 4e 54 48 2c | and DAY|, MONTH,|
|000061b0| 20 59 45 41 52 20 69 66 | 0a 20 20 20 20 20 20 20 | YEAR if|. |
|000061c0| 20 20 20 20 20 20 20 20 | 20 20 20 60 65 75 72 6f | | `euro|
|000061d0| 70 65 61 6e 2d 63 61 6c | 65 6e 64 61 72 2d 73 74 |pean-cal|endar-st|
|000061e0| 79 6c 65 27 20 69 73 20 | 74 2e 20 20 44 41 59 2c |yle' is |t. DAY,|
|000061f0| 20 4d 4f 4e 54 48 2c 20 | 61 6e 64 20 59 45 41 52 | MONTH, |and YEAR|
|00006200| 0a 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |. | |
|00006210| 20 20 20 63 61 6e 20 62 | 65 20 6c 69 73 74 73 20 | can b|e lists |
|00006220| 6f 66 20 69 6e 74 65 67 | 65 72 73 2c 20 74 68 65 |of integ|ers, the|
|00006230| 20 63 6f 6e 73 74 61 6e | 74 20 74 2c 20 6f 72 20 | constan|t t, or |
|00006240| 61 6e 20 69 6e 74 65 67 | 65 72 2e 0a 20 20 20 20 |an integ|er.. |
|00006250| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 54 68 | | Th|
|00006260| 65 20 63 6f 6e 73 74 61 | 6e 74 20 74 20 6d 65 61 |e consta|nt t mea|
|00006270| 6e 73 20 61 6c 6c 20 76 | 61 6c 75 65 73 2e 0a 0a |ns all v|alues...|
|00006280| 20 20 20 20 20 20 25 25 | 28 64 69 61 72 79 2d 66 | %%|(diary-f|
|00006290| 6c 6f 61 74 20 4d 4f 4e | 54 48 20 44 41 59 4e 41 |loat MON|TH DAYNA|
|000062a0| 4d 45 20 4e 29 20 74 65 | 78 74 0a 20 20 20 20 20 |ME N) te|xt. |
|000062b0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 45 6e 74 | | Ent|
|000062c0| 72 79 20 77 69 6c 6c 20 | 61 70 70 65 61 72 20 6f |ry will |appear o|
|000062d0| 6e 20 74 68 65 20 4e 74 | 68 20 44 41 59 4e 41 4d |n the Nt|h DAYNAM|
|000062e0| 45 20 6f 66 20 4d 4f 4e | 54 48 2e 0a 20 20 20 20 |E of MON|TH.. |
|000062f0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 28 44 | | (D|
|00006300| 41 59 4e 41 4d 45 3d 30 | 20 6d 65 61 6e 73 20 53 |AYNAME=0| means S|
|00006310| 75 6e 64 61 79 2c 20 31 | 20 6d 65 61 6e 73 20 4d |unday, 1| means M|
|00006320| 6f 6e 64 61 79 2c 20 61 | 6e 64 20 73 6f 20 6f 6e |onday, a|nd so on|
|00006330| 3b 0a 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |;. | |
|00006340| 20 20 20 20 69 66 20 4e | 20 69 73 20 6e 65 67 61 | if N| is nega|
|00006350| 74 69 76 65 20 69 74 20 | 63 6f 75 6e 74 73 20 62 |tive it |counts b|
|00006360| 61 63 6b 77 61 72 64 20 | 66 72 6f 6d 20 74 68 65 |ackward |from the|
|00006370| 20 65 6e 64 20 6f 66 0a | 20 20 20 20 20 20 20 20 | end of.| |
|00006380| 20 20 20 20 20 20 20 20 | 20 20 74 68 65 20 6d 6f | | the mo|
|00006390| 6e 74 68 2e 20 20 4d 4f | 4e 54 48 20 63 61 6e 20 |nth. MO|NTH can |
|000063a0| 62 65 20 61 20 6c 69 73 | 74 20 6f 66 20 6d 6f 6e |be a lis|t of mon|
|000063b0| 74 68 73 2c 20 61 20 73 | 69 6e 67 6c 65 0a 20 20 |ths, a s|ingle. |
|000063c0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000063d0| 6d 6f 6e 74 68 2c 20 6f | 72 20 74 20 74 6f 20 73 |month, o|r t to s|
|000063e0| 70 65 63 69 66 79 20 61 | 6c 6c 20 6d 6f 6e 74 68 |pecify a|ll month|
|000063f0| 73 2e 0a 0a 20 20 20 20 | 20 20 25 25 28 64 69 61 |s... | %%(dia|
+--------+-------------------------+-------------------------+--------+--------+
Only 25.0 KB of data is shown above.